Holds all of the data needed to fully descibe a PhysicsShape. More...
#include <Physics/PhysicsShape.h>
Public Attributes | |
float | r |
float | w |
float | h |
Point2f | verts [PSHAPE_POLY_MAX_VERTS] |
uint | vertCount |
Matrixf | transform |
Holds all of the data needed to fully descibe a PhysicsShape.
The height of the box. Only valid for PSHAPE_BOX shapes.
The radius of the circle. Only valid for PSHAPE_CIRCLE shapes.
The local transformation for the shape. Valid for all shape types.
The number of vertices in the polygon. Only valid for PSHAPE_POLY shapes.
Point2f PhysicsShape::PhysicsShapeData::verts[PSHAPE_POLY_MAX_VERTS] |
The vertices of the polygon. Only valid for PSHAPE_POLY shapes.
The width of the box. Only valid for PSHAPE_BOX shapes.