MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / updateInertialTensor

Method updateInertialTensor

Engine/source/T3D/rigid.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void Rigid::updateInertialTensor()
103{
104 MatrixF iv,qmat;
105 angPosition.setMatrix(&qmat);
106 iv.mul(qmat,invObjectInertia);
107 qmat.transpose();
108 invWorldInertia.mul(iv,qmat);
109}
110
111void Rigid::updateCenterOfMass()
112{

Callers 2

readPacketDataMethod · 0.80
readPacketDataMethod · 0.80

Calls 3

setMatrixMethod · 0.45
mulMethod · 0.45
transposeMethod · 0.45

Tested by

no test coverage detected