Skip to content

Commit 027a6b1

Browse files
committed
revert Euler.RotationOrders to be writable
1 parent 8000b03 commit 027a6b1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/math/Euler.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ class Euler {
1414

1515
}
1616

17-
static get RotationOrders() {
18-
19-
return [ 'XYZ', 'YZX', 'ZXY', 'XZY', 'YXZ', 'ZYX' ];
20-
21-
}
22-
2317
get x() {
2418

2519
return this._x;
@@ -331,6 +325,7 @@ class Euler {
331325
}
332326

333327
Euler.DefaultOrder = 'XYZ';
328+
Euler.RotationOrders = [ 'XYZ', 'YZX', 'ZXY', 'XZY', 'YXZ', 'ZYX' ];
334329

335330
const _matrix = new Matrix4();
336331
const _quaternion = new Quaternion();

0 commit comments

Comments
 (0)