* Rotates the camera left and right. * * Panning rotates the camera without changing its position. The rotation * happens in the camera’s "local" space. * * The parameter, `angle`, is the angle the camera should rotate. Passing a * positive angle, as in `myCamera.pan(0.001)`, rotat
(amount)
| 747 | * } |
| 748 | */ |
| 749 | pan(amount) { |
| 750 | const local = this._getLocalAxes(); |
| 751 | this._rotateView(amount, local.y[0], local.y[1], local.y[2]); |
| 752 | } |
| 753 | |
| 754 | /** |
| 755 | * Rotates the camera up and down. |
no test coverage detected