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

Method translateLocal

testbed/opengl-framework/src/Object3D.h:114–116  ·  view source on GitHub ↗

Translate the object in local-space

Source from the content-addressed store, hash-verified

112
113// Translate the object in local-space
114inline void Object3D::translateLocal(const Vector3& v) {
115 mTransformMatrix = mTransformMatrix * Matrix4::translationMatrix(v);
116}
117
118// Rotate the object in world-space
119inline void Object3D::rotateWorld(const Vector3& axis, float angle) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected