traffic_sim/
math.rs

1//! Mathematical structs and functions.
2
3use cgmath::{Point2, Vector2};
4pub use cubic::*;
5pub use curve::*;
6pub use lut::*;
7pub use util::*;
8
9mod cubic;
10mod curve;
11mod lut;
12mod util;
13
14/// A 2D point
15pub type Point2d = Point2<f64>;
16
17/// A 2D vector
18pub type Vector2d = Vector2<f64>;