PixelLightAPI
.
|
Abstract PL physics capsule body. More...
#include <BodyCapsule.h>
Public Member Functions | |
virtual PLPHYSICS_API | ~BodyCapsule () |
Destructor. | |
PLPHYSICS_API float | GetRadius () const |
Returns the capsule radius at the base. | |
PLPHYSICS_API float | GetHeight () const |
Returns the capsule height along the x local axis from base to top. | |
Protected Member Functions | |
PLPHYSICS_API | BodyCapsule (World &cWorld, BodyImpl &cBodyImpl, float fRadius, float fHeight) |
Constructor. | |
Protected Attributes | |
float | m_fRadius |
float | m_fHeight |
Abstract PL physics capsule body.
virtual PLPHYSICS_API PLPhysics::BodyCapsule::~BodyCapsule | ( | ) | [virtual] |
Destructor.
PLPHYSICS_API PLPhysics::BodyCapsule::BodyCapsule | ( | 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 | Capsule radius at the base |
[in] | fHeight | Capsule height along the x local axis from base to top |
PLPHYSICS_API float PLPhysics::BodyCapsule::GetRadius | ( | ) | const |
Returns the capsule radius at the base.
PLPHYSICS_API float PLPhysics::BodyCapsule::GetHeight | ( | ) | const |
Returns the capsule height along the x local axis from base to top.
float PLPhysics::BodyCapsule::m_fRadius [protected] |
Capsule radius at the base
float PLPhysics::BodyCapsule::m_fHeight [protected] |
Capsule height along the x local axis from base to top
|