mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
char/chan: clean up MovingPartScalar/CharacterSlider constructors
These changes are a follow-up to 8b6f82256e31e7840c60775c8f2f9e1084aae972 but could not be made on that branch due to ABI compatibility reasons.
This commit is contained in:
parent
05d5bac598
commit
876cb60220
@ -25,7 +25,7 @@ MovingPartScalar(const MovingPartScalar ©) :
|
||||
*/
|
||||
INLINE MovingPartScalar::
|
||||
MovingPartScalar(PartGroup *parent, const std::string &name,
|
||||
const PN_stdfloat &default_value)
|
||||
PN_stdfloat default_value)
|
||||
: MovingPart<ACScalarSwitchType>(parent, name, default_value) {
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ protected:
|
||||
|
||||
public:
|
||||
INLINE MovingPartScalar(PartGroup *parent, const std::string &name,
|
||||
const PN_stdfloat &default_value = 0);
|
||||
PN_stdfloat default_value = 0);
|
||||
virtual ~MovingPartScalar();
|
||||
|
||||
virtual void get_blend_value(const PartBundle *root);
|
||||
|
@ -40,15 +40,8 @@ CharacterSlider(const CharacterSlider ©) :
|
||||
*
|
||||
*/
|
||||
CharacterSlider::
|
||||
CharacterSlider(PartGroup *parent, const std::string &name)
|
||||
: MovingPartScalar(parent, name) {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
CharacterSlider::
|
||||
CharacterSlider(PartGroup *parent, const std::string &name, const PN_stdfloat &default_value)
|
||||
CharacterSlider(PartGroup *parent, const std::string &name,
|
||||
PN_stdfloat default_value)
|
||||
: MovingPartScalar(parent, name, default_value) {
|
||||
}
|
||||
|
||||
|
@ -31,8 +31,8 @@ protected:
|
||||
CharacterSlider(const CharacterSlider ©);
|
||||
|
||||
PUBLISHED:
|
||||
explicit CharacterSlider(PartGroup *parent, const std::string &name);
|
||||
explicit CharacterSlider(PartGroup *parent, const std::string &name, const PN_stdfloat &default_value);
|
||||
explicit CharacterSlider(PartGroup *parent, const std::string &name,
|
||||
PN_stdfloat default_value = 0);
|
||||
virtual ~CharacterSlider();
|
||||
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user