GetCameraProjectionMatrix method
Returns the projection matrix for camera with the given aspect ratio.
Implementation
@override
MatrixD GetCameraProjectionMatrix(
StructPointer<Camera3DD> camera,
double aspect,
) => $.Matrix$.Extract1(
(p) => _ffi.GetCameraProjectionMatrix(
camera.asNativePointer(),
aspect.toDouble(),
).toDart(p.asNativePointer()),
);