kopia lustrzana https://github.com/robhawkes/vizicities
Add `rotateBy` controls
rodzic
141f2edbbc
commit
0f2deaf85e
|
@ -56,7 +56,11 @@ class Orbit extends EventEmitter {
|
||||||
|
|
||||||
// Rotate (left and right)
|
// Rotate (left and right)
|
||||||
rotateTo(angle, animate) {}
|
rotateTo(angle, animate) {}
|
||||||
rotateBy(angleDelta, animate) {}
|
rotateBy(angleDelta, animate) {
|
||||||
|
var controls = this._controls;
|
||||||
|
|
||||||
|
controls.rotateLeft(angleDelta);
|
||||||
|
}
|
||||||
|
|
||||||
// Fly to the given point, animating pan and tilt/rotation to final position
|
// Fly to the given point, animating pan and tilt/rotation to final position
|
||||||
// with nice zoom out and in
|
// with nice zoom out and in
|
||||||
|
|
Ładowanie…
Reference in New Issue