From cc37ab5ad4a879dff8df5a6e3efa6db1b37b2462 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Fri, 24 Apr 2015 11:44:32 +0200 Subject: [PATCH] Improved transparency of arrows --- static/js/FixedCamera.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/js/FixedCamera.js b/static/js/FixedCamera.js index 47b7530..1b40cee 100644 --- a/static/js/FixedCamera.js +++ b/static/js/FixedCamera.js @@ -97,8 +97,7 @@ var FixedCamera = function(arg1, arg2, arg3, arg4, position, target) { }); this.mesh = new THREE.Mesh(geometry, material); - // this.arrow = new THREE.Line(new THREE.Geometry(), new THREE.LineBasicMaterial({color: 0xff0000}), THREE.LinePieces); - this.arrow = new THREE.Mesh(new THREE.Geometry(), new THREE.MeshLambertMaterial({color: 0xff0000, side:THREE.DoubleSide})); + this.arrow = new THREE.Mesh(new THREE.Geometry(), new THREE.MeshLambertMaterial({color: 0xff0000, side:THREE.BackSide})); this.object3D = new THREE.Object3D(); this.object3D.add(this.mesh);