palStaticCapsule Class Reference
#include <palStatic.h>
List of all members.
|
Public Member Functions |
virtual void | Init (Float x, Float y, Float z, Float radius, Float length) |
virtual void | Init (palMatrix4x4 &pos, Float radius, Float length) |
Detailed Description
A static capped cylinder. It has no mass. This class represents a simple capped cylinder at a given position, with a given radius, and length.
The diagram indicates the central point of the cylinder, as well as its length and radius. The default orientation of the cylinder is such that the length is specified along the "y" axis.
Member Function Documentation
void palStaticCapsule::Init |
( |
palMatrix4x4 & |
pos, |
|
|
Float |
radius, |
|
|
Float |
length | |
|
) |
| | [virtual] |
Initializes the capped cylinder.
- Parameters:
-
| pos | The transformation matrix representing the position and orientation of the capsule |
| radius | The radius of the capsule |
| length | The length of the capsule |
| mass | The capsule's mass |
void palStaticCapsule::Init |
( |
Float |
x, |
|
|
Float |
y, |
|
|
Float |
z, |
|
|
Float |
radius, |
|
|
Float |
length | |
|
) |
| | [virtual] |
Initializes the capped cylinder.
- Parameters:
-
| x | The position (x) |
| y | The position (y) |
| z | The position (z) |
| radius | The radius of the capsule |
| length | The length of the capsule |
| mass | The capsule's mass |
The documentation for this class was generated from the following files:
- /var/www/hosted/adrianboeing.com/pal/current/pal/pal/pal/palStatic.h
- /var/www/hosted/adrianboeing.com/pal/current/pal/pal/pal/palStatic.cpp