Again
This commit is contained in:
parent
407de3e918
commit
a31c71513a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue