#include <S2_api.h>
Inheritance diagram for ParticleAPI:
Particle Consultor Methods. | |
Real | GetMass () const |
P3D | GetPos () const |
V3D | GetVel (const V3D &vel) const |
V3D | GetAcc (const V3D &acc) const |
ParticleAPI (S2::Object *p_obj) | |
~ParticleAPI () | |
class | UniverseAPI |
Allows UniverseAPI to create/destroy instances. | |
Public Member Functions | |
Particle Initialization Methods. | |
void | SetMass (Real mass) |
void | SetPos (const P3D &pos) |
void | SetVel (const V3D &vel) |
void | SetAcc (const V3D &acc) |
void | ApplyForce (const V3D &f) |
void | ApplyImpulse (const V3D &j) |
App-level Particle object interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Allows UniverseAPI to create/destroy instances.
Reimplemented from ObjectAPI. |