Computes the world-space inverse inertia matrix for a given body rotation.
Formula: I_inv_world = R * diag(invInertiaDiagonal) * R * mInertiaRotation * R^T where R is the body's rotation matrix.
output Mat4 to store the result
motion properties containing inertia data
body's rotation matrix (Mat4)
out parameter
Computes the world-space inverse inertia matrix for a given body rotation.
Formula: I_inv_world = R * diag(invInertiaDiagonal) * R * mInertiaRotation * R^T where R is the body's rotation matrix.