This holds the mass data computed for a shape. More...
#include <b2_shape.h>
Public Attributes | |
| b2Vec2 | center |
| The position of the shape's centroid relative to the shape's origin. More... | |
| float | I |
| The rotational inertia of the shape about the local origin. More... | |
| float | mass |
| The mass of the shape, usually in kilograms. More... | |
This holds the mass data computed for a shape.
Definition at line 33 of file b2_shape.h.
| b2Vec2 b2MassData::center |
The position of the shape's centroid relative to the shape's origin.
Definition at line 39 of file b2_shape.h.
| float b2MassData::I |
The rotational inertia of the shape about the local origin.
Definition at line 42 of file b2_shape.h.
| float b2MassData::mass |
The mass of the shape, usually in kilograms.
Definition at line 36 of file b2_shape.h.