Skip to main content

Module common

Module common 

Source
Expand description

Shared types and trait for all pedestrian models in this crate.

Structs§

Pedestrian
A single pedestrian agent as seen by every model in this crate.
WallSegment
A 2-D line segment describing a static obstacle (wall, barrier, etc.).

Traits§

PedestrianModel
Common contract for every pedestrian locomotion model in this crate.

Type Aliases§

Vec2
2-D vector alias used throughout the crate.