This commit is contained in:
Thomas FORGIONE 2015-06-18 16:36:16 +02:00
parent ba144a7357
commit 0b4c01d3e0
1 changed files with 2 additions and 6 deletions

View File

@ -111,12 +111,8 @@ ProgressiveLoaderGeometry.prototype.load = function() {
} }
ProgressiveLoaderGeometry.prototype.getCamera = function() { ProgressiveLoaderGeometry.prototype.getCamera = function() {
if (this.camera !== null)
return [this.camera.position.x, this.camera.position.y, this.camera.position.z, return [this.camera.position.x, this.camera.position.y, this.camera.position.z,
this.camera.target.x, this.camera.target.y, this.camera.target.z]; this.camera.target.x, this.camera.target.y, this.camera.target.z];
else
return null;
} }
ProgressiveLoaderGeometry.prototype.initIOCallbacks = function() { ProgressiveLoaderGeometry.prototype.initIOCallbacks = function() {