Describes a particle that has angular characteristics (velocity, orientation).
More...
#include "orientedParticle.h"
List of all members.
Public Member Functions |
| | OrientedParticle (int lifespan=0, bool alive=false) |
| | simple constructor
|
| | OrientedParticle (const OrientedParticle ©) |
| | copy constructor
|
| virtual | ~OrientedParticle () |
| | simple destructor
|
| virtual void | die () |
| | particle death routine
|
| virtual void | init () |
| | particle init routine
|
| virtual PhysicsObject * | make_copy () const |
| | simple destructor
|
| virtual void | output (ostream &out) const |
| | Write a string representation of this instance to <out>.
|
|
void | set_orientation () |
|
void | set_velocity () |
| virtual void | update () |
| | particle update routine.
|
| virtual void | write (ostream &out, int indent=0) const |
| | Write a string representation of this instance to <out>.
|
Detailed Description
Describes a particle that has angular characteristics (velocity, orientation).
Definition at line 25 of file orientedParticle.h.
Constructor & Destructor Documentation
| OrientedParticle::OrientedParticle |
( |
int |
lifespan = 0, |
|
|
bool |
alive = false |
|
) |
| |
| OrientedParticle::~OrientedParticle |
( |
| ) |
[virtual] |
Member Function Documentation
| void OrientedParticle::die |
( |
| ) |
[virtual] |
| void OrientedParticle::init |
( |
| ) |
[virtual] |
| void OrientedParticle::output |
( |
ostream & |
out | ) |
const [virtual] |
| void OrientedParticle::update |
( |
| ) |
[virtual] |
particle update routine.
This NEEDS to be filled in with quaternion slerp stuff, or oriented particles will not rotate.
Implements BaseParticle.
Definition at line 83 of file orientedParticle.cxx.
| void OrientedParticle::write |
( |
ostream & |
out, |
|
|
int |
indent = 0 |
|
) |
| const [virtual] |
The documentation for this class was generated from the following files: