MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / Update

Method Update

GTE/Samples/Physics/RoughPlaneThinRod1/PhysicsModule.cpp:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void PhysicsModule::Update()
139{
140 // Apply a single step of the ODE solver.
141 mSolver->Update(mTime, mState, mTime, mState);
142
143 mAux[3] = mState[1];
144 mAux[4] = mState[3];
145 mAux[5] = mState[4];
146 mAux[6] = mState[5];
147}
148
149

Callers 2

OnIdleMethod · 0.45
OnCharPressMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected