PixelLightAPI
.
|
Abstract PL physics cylinder body. More...
#include <BodyCylinder.h>
Public Member Functions | |
virtual PLPHYSICS_API | ~BodyCylinder () |
Destructor. | |
PLPHYSICS_API float | GetRadius () const |
Returns the cylinder radius at the base. | |
PLPHYSICS_API float | GetHeight () const |
Returns the cylinder height along the x local axis from base to top. | |
Protected Member Functions | |
PLPHYSICS_API | BodyCylinder (World &cWorld, BodyImpl &cBodyImpl, float fRadius, float fHeight) |
Constructor. | |
Protected Attributes | |
float | m_fRadius |
float | m_fHeight |
Abstract PL physics cylinder body.
virtual PLPHYSICS_API PLPhysics::BodyCylinder::~BodyCylinder | ( | ) | [virtual] |
Destructor.
PLPHYSICS_API PLPhysics::BodyCylinder::BodyCylinder | ( | World & | cWorld, |
BodyImpl & | cBodyImpl, | ||
float | fRadius, | ||
float | fHeight | ||
) | [protected] |
Constructor.
[in] | cWorld | World this body is in |
[in] | cBodyImpl | Reference to the physics API specific body implementation |
[in] | fRadius | Cylinder radius at the base |
[in] | fHeight | Cylinder height along the x local axis from base to top |
PLPHYSICS_API float PLPhysics::BodyCylinder::GetRadius | ( | ) | const |
Returns the cylinder radius at the base.
PLPHYSICS_API float PLPhysics::BodyCylinder::GetHeight | ( | ) | const |
Returns the cylinder height along the x local axis from base to top.
float PLPhysics::BodyCylinder::m_fRadius [protected] |
Cylinder radius at the base
float PLPhysics::BodyCylinder::m_fHeight [protected] |
Cylinder height along the x local axis from base to top
|