File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ namespace Polycode {
363363 * Returns the entity's rotation as euler angles
364364 @return Entity's rotation as euler angles
365365 */
366- Vector3 getEulerRotation () const ;
366+ Vector3 getRotationEuler () const ;
367367
368368 /* *
369369 * Returns the entity's pitch combined with the combined pitch of its parent.
Original file line number Diff line number Diff line change @@ -701,7 +701,7 @@ Vector3 Entity::getScale() const {
701701 return scale;
702702}
703703
704- Vector3 Entity::getEulerRotation () const {
704+ Vector3 Entity::getRotationEuler () const {
705705 return rotation;
706706}
707707
Original file line number Diff line number Diff line change @@ -2446,9 +2446,9 @@ void TransformSheet::Update() {
24462446 lastScale = entity->getScale ();
24472447 }
24482448
2449- if (entity->getEulerRotation () != lastRotation) {
2450- rotationProp->set (entity->getEulerRotation ());
2451- lastRotation = entity->getEulerRotation ();
2449+ if (entity->getRotationEuler () != lastRotation) {
2450+ rotationProp->set (entity->getRotationEuler ());
2451+ lastRotation = entity->getRotationEuler ();
24522452 }
24532453}
24542454
You can’t perform that action at this time.
0 commit comments