MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / operator*

Method operator*

include/reactphysics3d/mathematics/Quaternion.h:344–346  ·  view source on GitHub ↗

Overloaded operator for the multiplication with a constant

Source from the content-addressed store, hash-verified

342
343// Overloaded operator for the multiplication with a constant
344RP3D_FORCE_INLINE Quaternion Quaternion::operator*(decimal nb) const {
345 return Quaternion(nb * x, nb * y, nb * z, nb * w);
346}
347
348// Overloaded operator for the multiplication of two quaternions
349RP3D_FORCE_INLINE Quaternion Quaternion::operator*(const Quaternion& quaternion) const {

Callers

nothing calls this directly

Calls 2

QuaternionClass · 0.85
Vector3Class · 0.70

Tested by

no test coverage detected