Returns 'element-wise' min of this and another vector
| 700 | |
| 701 | // Returns 'element-wise' min of this and another vector |
| 702 | inline constexpr v_2d min(const v_2d& v) const |
| 703 | { |
| 704 | return v_2d(std::min(x, v.x), std::min(y, v.y)); |
| 705 | } |
| 706 | |
| 707 | // Calculates scalar dot product between this and another vector |
| 708 | inline constexpr auto dot(const v_2d& rhs) const |