Contents

init(fovY:aspectRatio:nearZ:farZ:)

Returns a projective transform with right-hand side perspective.

Declaration

init(fovY: Angle2D, aspectRatio: Double, nearZ: Double, farZ: Double)

Discussion

  • fovyRadians: The field-of-view angle along the y-axis.

  • aspectRatio: The aspect ratio.

  • nearZ: The distance to the near clipping plane.

  • farZ: The distance to the far clipping plane.

See Also

Creating a 3D projective transform structure