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 @@ -393,7 +393,7 @@ namespace Polycode {
393393 * Returns the entity's rotation as euler angles
394394 @return Entity's rotation as euler angles
395395 */
396- Vector3 getEulerRotation () const ;
396+ Vector3 getRotationEuler () const ;
397397
398398 /* *
399399 * Returns the entity's pitch combined with the combined pitch of its parent.
Original file line number Diff line number Diff line change @@ -709,7 +709,7 @@ Vector3 Entity::getScale() const {
709709 return scale;
710710}
711711
712- Vector3 Entity::getEulerRotation () const {
712+ Vector3 Entity::getRotationEuler () const {
713713 return rotation;
714714}
715715
Original file line number Diff line number Diff line change @@ -2526,9 +2526,9 @@ void TransformSheet::Update() {
25262526 lastScale = entity->getScale ();
25272527 }
25282528
2529- if (entity->getEulerRotation () != lastRotation) {
2530- rotationProp->set (entity->getEulerRotation ());
2531- lastRotation = entity->getEulerRotation ();
2529+ if (entity->getRotationEuler () != lastRotation) {
2530+ rotationProp->set (entity->getRotationEuler ());
2531+ lastRotation = entity->getRotationEuler ();
25322532 }
25332533}
25342534
You can’t perform that action at this time.
0 commit comments