palStaticBox Class Reference

#include <palStatic.h>

Inheritance diagram for palStaticBox:

palBoxBase palStatic palBodyBase palBodyBase

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.
cube.jpg
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:

Generated on Mon Aug 31 13:58:02 2009 for pal by  doxygen 1.5.7.1