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

Method operator*

include/reactphysics3d/mathematics/Transform.h:193–195  ·  view source on GitHub ↗

Return the transformed vector

Source from the content-addressed store, hash-verified

191
192// Return the transformed vector
193RP3D_FORCE_INLINE Vector3 Transform::operator*(const Vector3& vector) const {
194 return (mOrientation * vector) + mPosition;
195}
196
197// Operator of multiplication of a transform with another one
198RP3D_FORCE_INLINE Transform Transform::operator*(const Transform& transform2) const {

Callers

nothing calls this directly

Calls 3

QuaternionClass · 0.85
TransformClass · 0.70
Vector3Class · 0.70

Tested by

no test coverage detected