This commit is contained in:
Thomas FORGIONE 2015-05-20 17:31:30 +02:00
parent 407de3e918
commit a31c71513a
1 changed files with 4 additions and 2 deletions

View File

@ -79,7 +79,7 @@ var OldFixedCamera = function(arg1, arg2, arg3, arg4, position, target) {
var material = new THREE.MeshBasicMaterial({ var material = new THREE.MeshBasicMaterial({
color : 0xff0000, color : 0x0000ff,
transparent : true, transparent : true,
opacity : 1, opacity : 1,
side: THREE.DoubleSide 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 = Object.create(THREE.PerspectiveCamera.prototype);
OldFixedCamera.prototype.constructor = OldFixedCamera; OldFixedCamera.prototype.constructor = OldFixedCamera;
OldFixedCamera.prototype.check = function() {} OldFixedCamera.prototype.check = function() {
this.mesh.material.color.setHex(0x663366);
}
// Update function // Update function
OldFixedCamera.prototype.update = function(position) { OldFixedCamera.prototype.update = function(position) {