| 66 | float vector_3::magnitude() const { return SQRT(sq(x) + sq(y) + sq(z)); } |
| 67 | |
| 68 | void vector_3::normalize() { *this *= RSQRT(sq(x) + sq(y) + sq(z)); } |
| 69 | |
| 70 | // Apply a rotation to the matrix |
| 71 | void vector_3::apply_rotation(const matrix_3x3 &matrix) { |
no outgoing calls
no test coverage detected