Return the square of the length of the quaternion
| 231 | |
| 232 | // Return the square of the length of the quaternion |
| 233 | RP3D_FORCE_INLINE decimal Quaternion::lengthSquare() const { |
| 234 | return x*x + y*y + z*z + w*w; |
| 235 | } |
| 236 | |
| 237 | // Normalize the quaternion |
| 238 | RP3D_FORCE_INLINE void Quaternion::normalize() { |
nothing calls this directly
no outgoing calls
no test coverage detected