CameraYaw method

  1. @override
void CameraYaw(
  1. StructPointer<Camera3DD> camera,
  2. double angle,
  3. bool rotateAroundTarget
)
override

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

@override
void CameraYaw(
  StructPointer<Camera3DD> camera,
  double angle,
  bool rotateAroundTarget,
) => _ffi.CameraYaw(
  camera.asNativePointer(),
  angle.toDouble(),
  rotateAroundTarget,
);