From 1038c681906183967ad9a357d27ff807e870dbd6 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 29 Apr 2015 16:45:11 +0200 Subject: [PATCH] Removed double sided on head of arrow --- static/js/FixedCamera.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/FixedCamera.js b/static/js/FixedCamera.js index dea32ce..028a0bb 100644 --- a/static/js/FixedCamera.js +++ b/static/js/FixedCamera.js @@ -43,8 +43,8 @@ var FixedCamera = function(arg1, arg2, arg3, arg4, position, target) { Tools.sum(this.position, direction) ); - geometry.faces.push(new THREE.Face3(0,1,2), // new THREE.Face3(0,2,1), - new THREE.Face3(0,2,3), // new THREE.Face3(0,3,2) + geometry.faces.push(new THREE.Face3(0,2,1), // new THREE.Face3(0,2,1), + new THREE.Face3(0,3,2), // new THREE.Face3(0,3,2) new THREE.Face3(4,1,2), new THREE.Face3(4,0,1), new THREE.Face3(4,3,0), @@ -57,7 +57,7 @@ var FixedCamera = function(arg1, arg2, arg3, arg4, position, target) { color : 0xff0000, transparent : true, opacity : 0.5, - side: THREE.DoubleSide + side: THREE.FrontSide }); this.mesh = new THREE.Mesh(geometry, material);