![]() # 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`. |
||
---|---|---|
.. | ||
primitives | ||
rects | ||
affine3.rs | ||
aspect_ratio.rs | ||
cubic_splines.rs | ||
lib.rs | ||
ray.rs |