diff --git a/include/bounce/dynamics/shapes/shape.h b/include/bounce/dynamics/shapes/shape.h index a34360b..8c15986 100644 --- a/include/bounce/dynamics/shapes/shape.h +++ b/include/bounce/dynamics/shapes/shape.h @@ -64,15 +64,16 @@ struct b3ShapeDef float32 friction; }; +// This structure stores the mass-related data of a shape. struct b3MassData { - // The center of mass of the shape relative to the shape's origin. + // The position of the shape's centroid relative to the shape's origin. b3Vec3 center; - // The mass of the shape in kilograms. + // The mass of the shape, typically in kg. float32 mass; - // The rotational inertia of the shape about the shape's center of mass. + // The rotational inertia of the shape about the local origin. b3Mat33 I; };