mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
Change lifespan constructor parameter type from int to float to match its declared type.
This commit is contained in:
parent
a7e77e739f
commit
2219a758e4
@ -24,7 +24,7 @@
|
||||
// Description : simple constructor
|
||||
////////////////////////////////////////////////////////////////////
|
||||
PointParticle::
|
||||
PointParticle(int lifespan, bool alive) :
|
||||
PointParticle(float lifespan, bool alive) :
|
||||
BaseParticle(lifespan, alive) {
|
||||
set_oriented(false);
|
||||
}
|
||||
|
@ -28,7 +28,7 @@
|
||||
////////////////////////////////////////////////////////////////////
|
||||
class EXPCL_PANDAPHYSICS PointParticle : public BaseParticle {
|
||||
public:
|
||||
PointParticle(int lifespan = 0, bool alive = false);
|
||||
PointParticle(float lifespan = 0.0f, bool alive = false);
|
||||
PointParticle(const PointParticle ©);
|
||||
virtual ~PointParticle();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user