Skip to content

Commit 734b42c

Browse files
author
Marco Stagni
committed
TASK added missing .None to default easing
1 parent 257eb82 commit 734b42c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/entities/Entity.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ export default class Entity extends EventDispatcher {
556556
}
557557
}
558558

559-
rotateTo(rotation = this.getRotation(), time = 250, easing = Between.Easing.Linear) {
559+
rotateTo(rotation = this.getRotation(), time = 250, easing = Between.Easing.Linear.None) {
560560
const { x, y, z } = this.getRotation();
561561

562562
return new Promise((resolve) =>
@@ -568,7 +568,7 @@ export default class Entity extends EventDispatcher {
568568
);
569569
}
570570

571-
goTo(position = this.getPosition(), time = 250, easing = Between.Easing.Linear) {
571+
goTo(position = this.getPosition(), time = 250, easing = Between.Easing.Linear.None) {
572572
const { x, y, z } = this.getPosition();
573573

574574
return new Promise((resolve) =>

0 commit comments

Comments
 (0)