From a31c71513a6552593ff813b090d8f0907057dbd2 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 20 May 2015 17:31:30 +0200 Subject: [PATCH] Again --- static/js/prototype/OldFixedCamera.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/prototype/OldFixedCamera.js b/static/js/prototype/OldFixedCamera.js index 07daf80..b858a71 100644 --- a/static/js/prototype/OldFixedCamera.js +++ b/static/js/prototype/OldFixedCamera.js @@ -79,7 +79,7 @@ var OldFixedCamera = function(arg1, arg2, arg3, arg4, position, target) { var material = new THREE.MeshBasicMaterial({ - color : 0xff0000, + color : 0x0000ff, transparent : true, opacity : 1, side: THREE.DoubleSide @@ -91,7 +91,9 @@ var OldFixedCamera = function(arg1, arg2, arg3, arg4, position, target) { OldFixedCamera.prototype = Object.create(THREE.PerspectiveCamera.prototype); OldFixedCamera.prototype.constructor = OldFixedCamera; -OldFixedCamera.prototype.check = function() {} +OldFixedCamera.prototype.check = function() { + this.mesh.material.color.setHex(0x663366); +} // Update function OldFixedCamera.prototype.update = function(position) {