Return the square of the length of the vector
| 200 | |
| 201 | // Return the square of the length of the vector |
| 202 | RP3D_FORCE_INLINE decimal Vector3::lengthSquare() const { |
| 203 | return x*x + y*y + z*z; |
| 204 | } |
| 205 | |
| 206 | // Scalar product of two vectors (RP3D_FORCE_INLINE) |
| 207 | RP3D_FORCE_INLINE decimal Vector3::dot(const Vector3& vector) const { |
nothing calls this directly
no outgoing calls
no test coverage detected