Skip to content

campan

Pan (rotate) the camera left/right or up/down.

campan(dt, dp, cst, dir)

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.

campan(10, 0) % pan right 10°
  • camorbit — Orbit the camera around the target.
  • camroll — Roll the camera (rotate around the view axis).