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

Method identity

include/reactphysics3d/mathematics/Transform.h:183–185  ·  view source on GitHub ↗

Return the identity transform

Source from the content-addressed store, hash-verified

181
182// Return the identity transform
183RP3D_FORCE_INLINE Transform Transform::identity() {
184 return Transform(Vector3(0, 0, 0), Quaternion::identity());
185}
186
187// Return true if it is a valid transform
188RP3D_FORCE_INLINE bool Transform::isValid() const {

Callers

nothing calls this directly

Calls 2

TransformClass · 0.70
Vector3Class · 0.70

Tested by

no test coverage detected