physics::MOI3D Class Reference

#include <moi.h>

List of all members.

Public Member Functions

 MOI3D ()
 MOI3D (Body3D *body)
bool isInfinite () const
Rotation3D getRotationChange (const Vector3D &impulse, const Vector3D &offset) const

Detailed Description

Moment of Inertia (3D)

Constructor & Destructor Documentation

physics::MOI3D::MOI3D (  )  [inline]

Creates a MOI object that prevents rotation.

MOI3D::MOI3D ( Body3D body  ) 

Calculates the moment of inertia for a rigid body.

Member Function Documentation

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.

The documentation for this class was generated from the following files:

Generated on Thu Apr 23 22:51:40 2009 for Large Polygon Collider - Modular 2D/3D Physics Engine by  doxygen 1.5.6