CombinedCamera decouples setFov from perspective mode now

This commit is contained in:
zz85
2011-10-23 00:42:58 +08:00
parent 4e97d195b0
commit 60c103648e
+5 -1
View File
@@ -99,7 +99,11 @@ THREE.CombinedCamera.prototype.toOrthographic = function () {
THREE.CombinedCamera.prototype.setFov = function(fov) {
this.fov = fov;
this.toPerspective();
if (this.inPersepectiveMode) {
this.toPerspective();
} else {
this.toOrthographic();
}
};