|
| glm::mat3 | boxInvInertia (float mass, glm::vec3 halfExtents) noexcept |
| | Local-space inverse inertia tensor of a solid box of mass m and full extents (= 2 * halfExtents).
|
| glm::mat3 | sphereInvInertia (float mass, float radius) noexcept |
| | Local-space inverse inertia tensor of a solid sphere of mass m and radius r.
|
| glm::mat3 | capsuleInvInertia (float mass, float radius, float halfHeight) noexcept |
| | Local-space inverse inertia tensor of a capsule (cylinder + 2 hemispherical caps) with vertical axis (+Y), cylinder half-height h and radius r, total mass m.
|