Cyclone | Cyclone: cyclone::Gravity Class Reference |
#include <fgen.h>
Inheritance diagram for cyclone::Gravity:
Public Member Functions | |
Gravity (const Vector3 &gravity) | |
Creates the generator with the given acceleration. | |
virtual void | updateForce (RigidBody *body, real duration) |
Applies the gravitational force to the given rigid body. |
One instance can be used for multiple rigid bodies.
|
Creates the generator with the given acceleration.
|
|
Applies the gravitational force to the given rigid body.
Implements cyclone::ForceGenerator. |
© 2000-2003 Icosagon. All Rights Reserved.
Distributed under licence.
Cyclone Version 2.0.5 (Documentation generated Fri Nov 10 20:44:22 2006). |