![]() # Objective I frequently encounter cases where I need to get the opposite direction. This currently requires something like `Direction2d::from_normalized(-*direction)`, which is very inconvenient. ## Solution Implement `Neg` for `Direction2d` and `Direction3d`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |