00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ORIENTEDPARTICLE_H
00016 #define ORIENTEDPARTICLE_H
00017
00018 #include "baseParticle.h"
00019
00020
00021
00022
00023
00024
00025 class EXPCL_PANDAPHYSICS OrientedParticle : public BaseParticle {
00026 public:
00027 OrientedParticle(int lifespan = 0, bool alive = false);
00028 OrientedParticle(const OrientedParticle ©);
00029 virtual ~OrientedParticle();
00030
00031 virtual PhysicsObject *make_copy() const;
00032
00033 INLINE void set_velocity();
00034 INLINE void set_orientation();
00035
00036 virtual void init();
00037 virtual void update();
00038 virtual void die();
00039
00040 virtual void output(ostream &out) const;
00041 virtual void write(ostream &out, int indent=0) const;
00042 };
00043
00044 #include "orientedParticle.I"
00045
00046 #endif // ORIENTEDPARTICLE_H