Corrected all bugs
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user