Skip to main content

traaains/sim/track/
mod.rs

1//! Physical track.
2//!
3//! The track is a graph where nodes are represented by [node::TrackNode] and edges are represented by [segment::TrackSegment].
4
5pub mod node;
6pub mod pos;
7pub mod segment;
8
9/// [Standard gauge](https://en.wikipedia.org/wiki/Standard-gauge_railway) (in meters). This should become a modifiable
10/// property of the rail and bogies in the future.
11pub const STANDARD_GAUGE: f32 = 1.435;