mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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
|
// Description : simple constructor
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
PointParticle::
|
PointParticle::
|
||||||
PointParticle(int lifespan, bool alive) :
|
PointParticle(float lifespan, bool alive) :
|
||||||
BaseParticle(lifespan, alive) {
|
BaseParticle(lifespan, alive) {
|
||||||
set_oriented(false);
|
set_oriented(false);
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
class EXPCL_PANDAPHYSICS PointParticle : public BaseParticle {
|
class EXPCL_PANDAPHYSICS PointParticle : public BaseParticle {
|
||||||
public:
|
public:
|
||||||
PointParticle(int lifespan = 0, bool alive = false);
|
PointParticle(float lifespan = 0.0f, bool alive = false);
|
||||||
PointParticle(const PointParticle ©);
|
PointParticle(const PointParticle ©);
|
||||||
virtual ~PointParticle();
|
virtual ~PointParticle();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user