| 867 | // Unary negation operator overoad for inverting a vector |
| 868 | template<class T> |
| 869 | inline constexpr auto operator - (const v_2d<T>& lhs) |
| 870 | { |
| 871 | return v_2d(-lhs.x, -lhs.y); |
| 872 | } |
| 873 | |
| 874 | // Subtraction operator overloads between vectors and scalars, and vectors and vectors |
| 875 | template<class TL, class TR> |