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