Return true if the vector is unit and false otherwise
| 243 | |
| 244 | // Return true if the vector is unit and false otherwise |
| 245 | RP3D_FORCE_INLINE bool Vector3::isUnit() const { |
| 246 | return reactphysics3d::approxEqual(lengthSquare(), decimal(1.0)); |
| 247 | } |
| 248 | |
| 249 | // Return true if the values are not NAN OR INF |
| 250 | RP3D_FORCE_INLINE bool Vector3::isFinite() const { |
nothing calls this directly
no test coverage detected