![]() # Objective I often need a direction along one of the cartesian XYZ axes, and it currently requires e.g. `Direction2d::from_normalized(Vec2::X)`, which isn't ideal. ## Solution Add direction constants that are the same as the ones on Glam types. I also copied the doc comment format "A unit vector pointing along the ... axis", but I can change it if there's a better wording for directions. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |