PhyCone Class Reference
Inheritance diagram for PhyCone:

Public Member Functions | |
| PhyCone (real radius, real height, World *world, QString name="unamed", const wMatrix &tm=wMatrix::identity()) | |
| Create a physics cone object and insert it in the world passed. | |
| virtual | ~PhyCone () |
| Destroy this object. | |
| real | height () |
| return the height | |
| real | radius () |
| return the radius | |
Protected Member Functions | |
| void | createPrivateObject () |
| Engine encapsulation. | |
Detailed Description
Constructor & Destructor Documentation
| PhyCone | ( | real | radius, |
| real | height, | ||
| World * | world, | ||
| QString | name = "unamed", |
||
| const wMatrix & | tm = wMatrix::identity() |
||
| ) |
Create a physics cone object and insert it in the world passed.
- Parameters:
-
world The World which object will be inserted tm rotation and position at the moment of creation
Definition at line 26 of file phycone.cpp.
References PhyObject::changedMatrix(), PhyCone::createPrivateObject(), PhyCone::height(), and PhyCone::radius().
| ~PhyCone | ( | ) | [virtual] |
Destroy this object.
Definition at line 35 of file phycone.cpp.
Member Function Documentation
| void createPrivateObject | ( | ) | [protected] |
Engine encapsulation.
Reimplemented from PhyObject.
Definition at line 41 of file phycone.cpp.
References wMatrix::identity(), PhyObject::priv, and PhyObject::setMass().
Referenced by PhyCone::PhyCone().
| real height | ( | ) | [inline] |
| real radius | ( | ) | [inline] |
The documentation for this class was generated from the following files:
- worldsim/include/phycone.h
- worldsim/src/phycone.cpp