Corrected all bugs

This commit is contained in:
Thomas FORGIONE
2015-06-19 11:24:37 +02:00
parent f808aebe4f
commit 567fa552d8
2 changed files with 131 additions and 120 deletions

View File

@@ -111,6 +111,9 @@ ProgressiveLoaderGeometry.prototype.load = function() {
}
ProgressiveLoaderGeometry.prototype.getCamera = function() {
if (this.camera === null)
return null;
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];
}