Calculates scalar dot product between this and another vector
| 290 | |
| 291 | // Calculates scalar dot product between this and another vector |
| 292 | inline constexpr auto dot(const v_2d& rhs) const |
| 293 | { |
| 294 | return this->x * rhs.x + this->y * rhs.y; |
| 295 | } |
| 296 | |
| 297 | // Calculates 'scalar' cross product between this and another vector (useful for winding orders) |
| 298 | inline constexpr auto cross(const v_2d& rhs) const |
no outgoing calls
no test coverage detected