Returns 'element-wise' max of this and another vector
| 694 | |
| 695 | // Returns 'element-wise' max of this and another vector |
| 696 | inline constexpr v_2d max(const v_2d& v) const |
| 697 | { |
| 698 | return v_2d(std::max(x, v.x), std::max(y, v.y)); |
| 699 | } |
| 700 | |
| 701 | // Returns 'element-wise' min of this and another vector |
| 702 | inline constexpr v_2d min(const v_2d& v) const |