GetCameraUp method

Vector3 GetCameraUp(
  1. Camera3D camera
)

Returns the up vector (normalized) of camera.

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

Implementation

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