mirror of
https://github.com/beestat/app.git
synced 2025-06-23 15:30:43 -04:00
Limited vertical camera movement.
This commit is contained in:
parent
78fb1d99fc
commit
de1315a2d9
@ -210,6 +210,7 @@ beestat.component.scene.prototype.add_controls_ = function(parent) {
|
|||||||
this.controls_.enablePan = false;
|
this.controls_.enablePan = false;
|
||||||
this.controls_.maxDistance = 1000;
|
this.controls_.maxDistance = 1000;
|
||||||
this.controls_.minDistance = 400;
|
this.controls_.minDistance = 400;
|
||||||
|
this.controls_.maxPolarAngle = Math.PI / 2.5;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user