Skip to main content

Module segment

Module segment 

Source
Expand description

An edge in the physical track graph.

Modules§

commands
Commands to be issued on track segments.
signals_manager

Structs§

TrackSegment
An edge in the physical track graph, or, a piece of rail. Defined and backed by a single shape. Shapes should start (lerp(0)) at node from and end (lerp(1)) at to.

Functions§

on_segment_press_window
Observer that listens for pointer presses on segments and opens editing windows