Calculates scalar dot product between this and another vector
| 706 | |
| 707 | // Calculates scalar dot product between this and another vector |
| 708 | inline constexpr auto dot(const v_2d& rhs) const |
| 709 | { |
| 710 | return this->x * rhs.x + this->y * rhs.y; |
| 711 | } |
| 712 | |
| 713 | // Calculates 'scalar' cross product between this and another vector (useful for winding orders) |
| 714 | inline constexpr auto cross(const v_2d& rhs) const |
no outgoing calls