MatrixOrtho method

  1. @override
MatrixD MatrixOrtho(
  1. double left,
  2. double right,
  3. double bottom,
  4. double top,
  5. double nearPlane,
  6. double farPlane,
)
override

Get orthographic projection matrix

Implementation

@override
MatrixD MatrixOrtho(
  double left,
  double right,
  double bottom,
  double top,
  double nearPlane,
  double farPlane,
) => $.Matrix$.Extract1(
  (p) => _ffi.MatrixOrtho(
    left,
    right,
    bottom,
    top,
    nearPlane,
    farPlane,
  ).toDart(p.asNativePointer()),
);