| 451 | // Unary negation operator overoad for inverting a vector |
| 452 | template<class T> |
| 453 | inline constexpr auto operator - (const v_2d<T>& lhs) |
| 454 | { |
| 455 | return v_2d(-lhs.x, -lhs.y); |
| 456 | } |
| 457 | |
| 458 | // Subtraction operator overloads between vectors and scalars, and vectors and vectors |
| 459 | template<class TL, class TR> |