1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Limited vertical camera movement.

This commit is contained in:
Jon Ziebell 2022-08-19 14:43:33 -04:00
parent 78fb1d99fc
commit de1315a2d9

View File

@ -210,6 +210,7 @@ beestat.component.scene.prototype.add_controls_ = function(parent) {
this.controls_.enablePan = false;
this.controls_.maxDistance = 1000;
this.controls_.minDistance = 400;
this.controls_.maxPolarAngle = Math.PI / 2.5;
};
/**