MassHelper Struct Reference
[Physics]

Inherits Service.

Inherited by MassHelperImpl.

List of all members.

Public Methods

virtual void setSolidCylinder (Float mass, Float radius, Float width)=0
virtual void translate (Float x, Float y, Float z)=0
virtual void add (MassHelper *b)=0


Detailed Description

An interface for calculating the mass and inertia of complex objects.


Member Function Documentation

virtual void MassHelper::add MassHelper *    b [pure virtual]
 

Add mass B to mass A.

virtual void MassHelper::setSolidCylinder Float    mass,
Float    radius,
Float    width
[pure virtual]
 

Set up for a solid box with the given dimensions.

virtual void MassHelper::translate Float    x,
Float    y,
Float    z
[pure virtual]
 

Adjust the center of mass to a new position relative to the parent space.


The documentation for this struct was generated from the following file:


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen