From 749335eb2f73da6c82e1d24ebb7188755bbfecc7 Mon Sep 17 00:00:00 2001 From: TurbineJesse Date: Sat, 27 Jul 2013 00:43:56 -0700 Subject: [PATCH] Update ThreeCSG.js setEulerFromRotationMatrix kicks up errors in Firefox. However, dropping the word "Euler" fixes it. It should be, setFromRotationMatrix --- ThreeCSG.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +})();