mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
matrix compose / decompose method
This commit is contained in:
@@ -717,6 +717,8 @@ THREE.Matrix4.prototype = {
|
||||
matrix.n33 /= scale.z;
|
||||
|
||||
rotation.setFromRotationMatrix(matrix);
|
||||
|
||||
return [translation, rotation, scale];
|
||||
},
|
||||
|
||||
extractPosition: function ( m ) {
|
||||
|
||||
Reference in New Issue
Block a user