rotate
Rotates the orbital camera by the specified angles in the horizontal and vertical directions. The rotation can be applied instantly or smoothly interpolated over time.
Parameters
degreesX
the rotation angle in degrees around the horizontal axis (theta)
degreesY
the rotation angle in degrees around the vertical axis (phi)
instant
whether the rotation is applied immediately; if false, it interpolates over time (default is false)