Return true if the vector is the zero vector
| 253 | |
| 254 | // Return true if the vector is the zero vector |
| 255 | RP3D_FORCE_INLINE bool Vector3::isZero() const { |
| 256 | return reactphysics3d::approxEqual(lengthSquare(), decimal(0.0)); |
| 257 | } |
| 258 | |
| 259 | // Overloaded operator for the equality condition |
| 260 | RP3D_FORCE_INLINE bool Vector3::operator== (const Vector3& vector) const { |
nothing calls this directly
no test coverage detected