CameraYaw method

void CameraYaw(
  1. Pointer<Camera3DC> camera,
  2. double angle,
  3. bool rotateAroundTarget
)

Rotates camera around its up vector by angle radians.

Yaw is "looking left and right".

If rotateAroundTarget is true, the camera orbits its target; otherwise it rotates in place.

Implementation

void CameraYaw(Pointer<Camera3DC> camera, double angle, bool rotateAroundTarget)
  => _CameraYaw(camera, angle, rotateAroundTarget);