mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
initialize some variables
This commit is contained in:
parent
88fc74374b
commit
c3747ab8aa
1 changed files with 7 additions and 1 deletions
|
@ -18,7 +18,13 @@ const float SPRING_MAX_SPEED = 10.0f;
|
|||
const uint16_t ObjectActionSpring::springVersion = 1;
|
||||
|
||||
ObjectActionSpring::ObjectActionSpring(EntityActionType type, QUuid id, EntityItemPointer ownerEntity) :
|
||||
ObjectAction(type, id, ownerEntity) {
|
||||
ObjectAction(type, id, ownerEntity),
|
||||
_positionalTarget(glm::vec3(0.0f)),
|
||||
_linearTimeScale(0.2f),
|
||||
_positionalTargetSet(false),
|
||||
_rotationalTarget(glm::quat()),
|
||||
_angularTimeScale(0.2f),
|
||||
_rotationalTargetSet(false) {
|
||||
#if WANT_DEBUG
|
||||
qDebug() << "ObjectActionSpring::ObjectActionSpring";
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue