PixelLightAPI  .
Public Member Functions | Protected Member Functions | Protected Attributes
PLPhysics::BodySphere Class Reference

Abstract PL physics sphere body. More...

#include <BodySphere.h>

Inheritance diagram for PLPhysics::BodySphere:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual PLPHYSICS_API ~BodySphere ()
 Destructor.
PLPHYSICS_API float GetRadius () const
 Returns the sphere radius.

Protected Member Functions

PLPHYSICS_API BodySphere (World &cWorld, BodyImpl &cBodyImpl, float fRadius)
 Constructor.

Protected Attributes

float m_fRadius

Detailed Description

Abstract PL physics sphere body.


Constructor & Destructor Documentation

virtual PLPHYSICS_API PLPhysics::BodySphere::~BodySphere ( ) [virtual]

Destructor.

PLPHYSICS_API PLPhysics::BodySphere::BodySphere ( World cWorld,
BodyImpl &  cBodyImpl,
float  fRadius 
) [protected]

Constructor.

Parameters:
[in]cWorldWorld this body is in
[in]cBodyImplReference to the physics API specific body implementation
[in]fRadiusSphere radius

Member Function Documentation

PLPHYSICS_API float PLPhysics::BodySphere::GetRadius ( ) const

Returns the sphere radius.

Returns:
The sphere radius

Member Data Documentation

Sphere radius


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:21
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported