campan
Pan (rotate) the camera left/right or up/down.
Syntax
Section titled “Syntax”campan(dt, dp, cst, dir)Description
Section titled “Description”Rotates the camera by dt (theta, horizontal) and dp (phi, vertical) degrees while keeping the position fixed. cst and dir control the rotation reference frame.
Example
Section titled “Example”campan(10, 0) % pan right 10°