PerspectiveProjection constructor

PerspectiveProjection({
  1. double fovRadiansY = 45 * degrees2Radians,
  2. double near = 0.1,
  3. double far = 1000.0,
})

Creates a PerspectiveProjection with a vertical field of view fovRadiansY and a near/far clip range.

Implementation

PerspectiveProjection({
  this.fovRadiansY = 45 * degrees2Radians,
  this.near = 0.1,
  this.far = 1000.0,
});