projectionMatrix property

Matrix4 projectionMatrix

Implementation

Matrix4 get projectionMatrix {
  final double top = near * math.tan(radians(fov) / 2.0) / zoom;
  final double bottom = -top;
  final double right = top * aspectRatio;
  final double left = -right;
  return makeFrustumMatrix(left, right, bottom, top, near, far);
}