
228 Chapter 10 Laws of Motion for Rigid Bodies
// Update angular position.
orientation.addScaledVector(rotation, duration);
// Normalize the orientation, and update the matrices with the new
// position and orientation.
calculateDerivedData();
// Clear accumulators.
clearAccumulators();
}
10.5 Summary
The physics of angular motion is very similar to the physics of linear motion discussed
in Chapter 3. In the same way that force is related to acceleration via mass, we’ve seen
that torque is related to angular acceleration via the moment of inertia. The physics
is similar, but in each case the mathematics is more complex and the implementation
longer. The