Skip to content

Commit f549b79

Browse files
committed
fix static value of Euler
1 parent 5eef1d2 commit f549b79

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/math/Euler.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,17 @@ class Euler {
1717

1818
}
1919

20-
static RotationOrders = [ 'XYZ', 'YZX', 'ZXY', 'XZY', 'YXZ', 'ZYX' ];
20+
static get RotationOrders() {
2121

22-
static DefaultOrder = 'XYZ';
22+
return [ 'XYZ', 'YZX', 'ZXY', 'XZY', 'YXZ', 'ZYX' ];
23+
24+
}
25+
26+
static get DefaultOrder() {
27+
28+
return 'XYZ';
29+
30+
}
2331

2432
get x() {
2533

0 commit comments

Comments
 (0)