palCapsule Class Reference

#include <palBodies.h>

Inheritance diagram for palCapsule:

palBody palCapsuleBase palBodyBase palBodyBase

List of all members.

Public Member Functions

virtual void Init (Float x, Float y, Float z, Float radius, Float length, Float mass)


Detailed Description

A capped cylinder. This class represents a simple capped cylinder at a given position, with a given radius, length and mass.
capsule.jpg
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 palCapsule::Init ( Float  x,
Float  y,
Float  z,
Float  radius,
Float  length,
Float  mass 
) [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:

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