physics::Rect Class Reference
#include <rect.h>
Inherits physics::Area.
List of all members.
|
Public Member Functions |
float | getMOI () const |
| Get the Moment of Inertia.
|
Detailed Description
Provides the rectangle shape in the 2D simulation
Member Function Documentation
float physics::Rect::getMOI |
( |
|
) |
const [inline] |
Get the Moment of Inertia.
- Returns:
- Float; Moment of Inertia
The documentation for this class was generated from the following files:
- torquetome/trunk/physics/src/lib/rect.h
- torquetome/trunk/physics/src/lib/rect.cpp