Skip to content

camorbit

Orbit the camera around the target.

camorbit(dt, dp, cst, dir)

Rotates the camera by dt and dp degrees while keeping the camera target fixed (so the camera revolves around the scene). Common interactive control.

camorbit(45, 0) % orbit 45° azimuthally
  • campan — Pan (rotate) the camera left/right or up/down.
  • camroll — Roll the camera (rotate around the view axis).
  • view — Set or query the camera view angle.