OffAxisProjection constructor

OffAxisProjection({
  1. required double tanLeft,
  2. required double tanRight,
  3. required double tanDown,
  4. required double tanUp,
  5. double near = 0.1,
  6. double far = 1000.0,
})

Creates a projection from four signed edge tangents and a clip range.

Implementation

OffAxisProjection({
  required this.tanLeft,
  required this.tanRight,
  required this.tanDown,
  required this.tanUp,
  this.near = 0.1,
  this.far = 1000.0,
});