GetCameraUp method

Vector3D GetCameraUp(
  1. Camera3DD camera
)

Returns the up vector (normalized) of camera.

The up vector might not be perpendicular to the forward vector.

Implementation

Vector3D GetCameraUp(
  Camera3DD camera,
) => run(
  () => _debugLabels.GetCameraUp(camera),
  () => _flat.GetCameraUp(
    $.Camera3D$.Ref1(camera),
  ),
);