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