matrix compose / decompose method

This commit is contained in:
timk
2011-08-22 02:53:40 +02:00
parent 17e23f038b
commit 4ec5992f0e
+2
View File
@@ -717,6 +717,8 @@ THREE.Matrix4.prototype = {
matrix.n33 /= scale.z;
rotation.setFromRotationMatrix(matrix);
return [translation, rotation, scale];
},
extractPosition: function ( m ) {