File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ THREE.Vector3.prototype = {
299
299
300
300
} else {
301
301
302
- this . x = Math . atan2 ( m21 , m22 ) ;
302
+ this . x = Math . atan2 ( m32 , m22 ) ;
303
303
this . z = 0 ;
304
304
305
305
}
@@ -332,7 +332,7 @@ THREE.Vector3.prototype = {
332
332
} else {
333
333
334
334
this . y = 0 ;
335
- this . z = Math . atan2 ( m13 , m11 ) ;
335
+ this . z = Math . atan2 ( m21 , m11 ) ;
336
336
337
337
}
338
338
@@ -364,7 +364,7 @@ THREE.Vector3.prototype = {
364
364
} else {
365
365
366
366
this . x = 0 ;
367
- this . y = Math . atan2 ( m31 , m33 ) ;
367
+ this . y = Math . atan2 ( m13 , m33 ) ;
368
368
369
369
}
370
370
@@ -379,7 +379,7 @@ THREE.Vector3.prototype = {
379
379
380
380
} else {
381
381
382
- this . x = Math . atan2 ( - m13 , m33 ) ;
382
+ this . x = Math . atan2 ( - m23 , m33 ) ;
383
383
this . y = 0 ;
384
384
385
385
}
You can’t perform that action at this time.
0 commit comments