MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / isValid

Method isValid

include/reactphysics3d/mathematics/Quaternion.h:307–309  ·  view source on GitHub ↗

Return true if it is a valid quaternion

Source from the content-addressed store, hash-verified

305
306// Return true if it is a valid quaternion
307RP3D_FORCE_INLINE bool Quaternion::isValid() const {
308 return isFinite() && isUnit();
309}
310
311// Overloaded operator for the addition of two quaternions
312RP3D_FORCE_INLINE Quaternion Quaternion::operator+(const Quaternion& quaternion) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected