mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
780df451ea
commit
76551bc5dc
@ -74,8 +74,7 @@ private:
|
|||||||
bool _i_was_spawned_flag;
|
bool _i_was_spawned_flag;
|
||||||
PT(RenderRelation) _physical_node_arc;
|
PT(RenderRelation) _physical_node_arc;
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
|
|
||||||
// constructor/destructor
|
// constructor/destructor
|
||||||
|
|
||||||
ParticleSystem(int pool_size = 0);
|
ParticleSystem(int pool_size = 0);
|
||||||
@ -128,6 +127,7 @@ public:
|
|||||||
INLINE void render(void);
|
INLINE void render(void);
|
||||||
void update(float dt);
|
void update(float dt);
|
||||||
|
|
||||||
|
public:
|
||||||
friend class ParticleSystemManager;
|
friend class ParticleSystemManager;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,8 +26,7 @@ private:
|
|||||||
int _nth_frame;
|
int _nth_frame;
|
||||||
int _cur_frame;
|
int _cur_frame;
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
|
|
||||||
ParticleSystemManager(int every_nth_frame = 1);
|
ParticleSystemManager(int every_nth_frame = 1);
|
||||||
|
|
||||||
INLINE void set_frame_stepping(int every_nth_frame);
|
INLINE void set_frame_stepping(int every_nth_frame);
|
||||||
|
@ -22,7 +22,7 @@ class EXPCL_PANDAPHYSICS ForceNode : public NamedNode {
|
|||||||
private:
|
private:
|
||||||
vector< PT(BaseForce) > _forces;
|
vector< PT(BaseForce) > _forces;
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
ForceNode(const string &name = "");
|
ForceNode(const string &name = "");
|
||||||
ForceNode(const ForceNode ©);
|
ForceNode(const ForceNode ©);
|
||||||
virtual ~ForceNode(void);
|
virtual ~ForceNode(void);
|
||||||
|
@ -19,7 +19,7 @@ private:
|
|||||||
vector< PT(LinearForce) >& forces,
|
vector< PT(LinearForce) >& forces,
|
||||||
float dt);
|
float dt);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
LinearEulerIntegrator(void);
|
LinearEulerIntegrator(void);
|
||||||
virtual ~LinearEulerIntegrator(void);
|
virtual ~LinearEulerIntegrator(void);
|
||||||
};
|
};
|
||||||
|
@ -36,6 +36,7 @@ public:
|
|||||||
static int _random_seed;
|
static int _random_seed;
|
||||||
static void init_noise_tables(void);
|
static void init_noise_tables(void);
|
||||||
|
|
||||||
|
PUBLISHED:
|
||||||
LinearNoiseForce(float a = 1.0f, bool m = false);
|
LinearNoiseForce(float a = 1.0f, bool m = false);
|
||||||
LinearNoiseForce(const LinearNoiseForce ©);
|
LinearNoiseForce(const LinearNoiseForce ©);
|
||||||
virtual ~LinearNoiseForce(void);
|
virtual ~LinearNoiseForce(void);
|
||||||
|
@ -20,7 +20,7 @@ private:
|
|||||||
virtual LinearForce *make_copy(void);
|
virtual LinearForce *make_copy(void);
|
||||||
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
virtual LVector3f get_child_vector(const PhysicsObject *po);
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
LinearVectorForce(const LVector3f& vec, float a = 1.0f, bool mass = false);
|
LinearVectorForce(const LVector3f& vec, float a = 1.0f, bool mass = false);
|
||||||
LinearVectorForce(const LinearVectorForce ©);
|
LinearVectorForce(const LinearVectorForce ©);
|
||||||
LinearVectorForce(float x = 0.0f, float y = 0.0f, float z = 0.0f,
|
LinearVectorForce(float x = 0.0f, float y = 0.0f, float z = 0.0f,
|
||||||
|
@ -23,7 +23,7 @@ class EXPCL_PANDAPHYSICS PhysicalNode : public NamedNode {
|
|||||||
private:
|
private:
|
||||||
vector< PT(Physical) > _physicals;
|
vector< PT(Physical) > _physicals;
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
PhysicalNode(const string &name = "");
|
PhysicalNode(const string &name = "");
|
||||||
PhysicalNode(const PhysicalNode ©);
|
PhysicalNode(const PhysicalNode ©);
|
||||||
virtual ~PhysicalNode(void);
|
virtual ~PhysicalNode(void);
|
||||||
|
@ -41,7 +41,7 @@ private:
|
|||||||
PT(LinearIntegrator) _linear_integrator;
|
PT(LinearIntegrator) _linear_integrator;
|
||||||
PT(AngularIntegrator) _angular_integrator;
|
PT(AngularIntegrator) _angular_integrator;
|
||||||
|
|
||||||
public:
|
PUBLISHED:
|
||||||
PhysicsManager(void);
|
PhysicsManager(void);
|
||||||
virtual ~PhysicsManager(void);
|
virtual ~PhysicsManager(void);
|
||||||
|
|
||||||
@ -60,6 +60,7 @@ public:
|
|||||||
void remove_angular_force(AngularForce *f);
|
void remove_angular_force(AngularForce *f);
|
||||||
void do_physics(float dt);
|
void do_physics(float dt);
|
||||||
|
|
||||||
|
public:
|
||||||
friend class Physical;
|
friend class Physical;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user