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