b2MassData Struct Reference
This holds the mass data computed for a shape. More...
Public Attributes | |
| float32 | mass |
| The mass of the shape, usually in kilograms. | |
| b2Vec2 | center |
| The position of the shape's centroid relative to the shape's origin. | |
| float32 | I |
| The rotational inertia of the shape. | |
Detailed Description
This holds the mass data computed for a shape.The documentation for this struct was generated from the following file:
- b2Shape.h
Generated on Sun Apr 13 15:21:27 2008 for Box2D by
1.5.4