#include <moi.h>
Public Member Functions | |
| MOI3D () | |
| MOI3D (Body3D *body) | |
| bool | isInfinite () const |
| Rotation3D | getRotationChange (const Vector3D &impulse, const Vector3D &offset) const |
| physics::MOI3D::MOI3D | ( | ) | [inline] |
Creates a MOI object that prevents rotation.
| MOI3D::MOI3D | ( | Body3D * | body | ) |
Calculates the moment of inertia for a rigid body.
| bool physics::MOI3D::isInfinite | ( | ) | const [inline] |
Return true if this MOI prevents rotation. To be renamed?
| Rotation3D physics::MOI3D::getRotationChange | ( | const Vector3D & | impulse, | |
| const Vector3D & | offset | |||
| ) | const [inline] |
Calculate the change of rotation if an impulse were to be applied at a given position.
1.5.6