PhySphere class. More...

Inheritance diagram for PhySphere:

List of all members.

Public Member Functions

 PhySphere (real radius, World *world, QString name="unamed", const wMatrix &tm=wMatrix::identity())
 Create a physics sphere object and insert it in the world passed.
virtual ~PhySphere ()
 Destroy this object.
real radius ()
 return the radius

Protected Member Functions

void createPrivateObject ()
 Engine encapsulation.

Detailed Description

PhySphere class.

\

Motivation
Represent a physical sphere object.
Description
Warnings
Warnings

Definition at line 37 of file physphere.h.


Constructor & Destructor Documentation

PhySphere ( real  radius,
World world,
QString  name = "unamed",
const wMatrix tm = wMatrix::identity() 
)

Create a physics sphere object and insert it in the world passed.

Parameters:
worldThe World which object will be inserted
tmrotation and position at the moment of creation

Definition at line 26 of file physphere.cpp.

References PhyObject::changedMatrix(), PhySphere::createPrivateObject(), and PhySphere::radius().

~PhySphere ( ) [virtual]

Destroy this object.

Definition at line 34 of file physphere.cpp.


Member Function Documentation

void createPrivateObject ( ) [protected]

Engine encapsulation.

Reimplemented from PhyObject.

Definition at line 40 of file physphere.cpp.

References wMatrix::identity(), PhyObject::priv, and PhyObject::setMass().

Referenced by PhySphere::PhySphere().

real radius ( ) [inline]

return the radius

Definition at line 48 of file physphere.h.

Referenced by PhySphere::PhySphere().


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