GetCameraProjectionMatrix method
Returns the projection matrix for camera with the given aspect ratio.
Implementation
MatrixD GetCameraProjectionMatrix(
Camera3DD camera,
num aspect,
) => run(
() => _debugLabels.GetCameraProjectionMatrix(camera, aspect),
() => _flat.GetCameraProjectionMatrix(
$.Camera3D$.Ref1(camera),
aspect.toDouble(),
),
);