palStaticSphere Class Reference
#include <palStatic.h>
List of all members.
|
Public Member Functions |
virtual void | Init (Float x, Float y, Float z, Float radius) |
virtual void | Init (palMatrix4x4 &pos, Float radius) |
Detailed Description
A static sphere. It has no mass. This class represents a simple sphere at a given position, with a given radius.
The diagram indicates the central point of the sphere, as well as its radius.
Member Function Documentation
void palStaticSphere::Init |
( |
palMatrix4x4 & |
pos, |
|
|
Float |
radius | |
|
) |
| | [virtual] |
Initializes the sphere.
- Parameters:
-
| pos | The transformation matrix representing the position and orientation of the sphere |
| radius | The sphere's radius |
| mass | The sphere's mass |
void palStaticSphere::Init |
( |
Float |
x, |
|
|
Float |
y, |
|
|
Float |
z, |
|
|
Float |
radius | |
|
) |
| | [virtual] |
Initializes the sphere.
- Parameters:
-
| x | The position (x) |
| y | The position (y) |
| z | The position (z) |
| radius | The sphere's radius |
| mass | The sphere'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