traffic-sim 0.1.1

A simple traffic simulation package focussed on performance and realism.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Mathematical structs and functions.

use cgmath::{Point2, Vector2};
pub use cubic::*;
pub use curve::*;
pub use lut::*;
pub use util::*;

mod cubic;
mod curve;
mod lut;
mod util;

/// A 2D point
pub type Point2d = Point2<f64>;

/// A 2D vector
pub type Vector2d = Vector2<f64>;