camroll
Rotates the camera around the line of sight.
Category: Graphics > Formatting and Annotation
Syntax
camroll(dtheta)
Rolls the camera by dtheta degrees.
Description
The camera keeps its position and target but turns around the axis that points at the target, which tilts the image like a tilted head. It changes the up vector, the one read by camup.
Input arguments
dtheta- Roll angle in degrees.
Example
Tilting the view
surf(peaks(20))
camroll(30)
In the app, the figure is drawn below the code.