palSphere Class Reference

#include <palBodies.h>

Inheritance diagram for palSphere:

palBody palSphereBase palBodyBase palBodyBase

List of all members.

Public Member Functions

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


Detailed Description

A sphere. This class represents a simple sphere at a given position, with a given radius and mass.
sphere.jpg
The diagram indicates the central point of the sphere, as well as its radius.

Member Function Documentation

void palSphere::Init ( Float  x,
Float  y,
Float  z,
Float  radius,
Float  mass 
) [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:

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