diff --git a/ThreeCSG.js b/ThreeCSG.js index 7dd5050..2601fa8 100644 --- a/ThreeCSG.js +++ b/ThreeCSG.js @@ -198,7 +198,7 @@ window.ThreeBSP = (function() { mesh = new THREE.Mesh( geometry, material ); mesh.position.getPositionFromMatrix( this.matrix ); - mesh.rotation.setEulerFromRotationMatrix( this.matrix ); + mesh.rotation.setFromRotationMatrix( this.matrix ); return mesh; }; @@ -542,4 +542,4 @@ window.ThreeBSP = (function() { return ThreeBSP; -})(); \ No newline at end of file +})();