Contents

init(leftTangent:rightTangent:topTangent:bottomTangent:nearZ:farZ:reverseZ:)

Returns a projective transform from tangents for each side of its frustum.

Declaration

init(leftTangent: Double, rightTangent: Double, topTangent: Double, bottomTangent: Double, nearZ: Double, farZ: Double, reverseZ: Bool)

Parameters

  • leftTangent:

    The positive left tangent.

  • rightTangent:

    The positive right tangent.

  • topTangent:

    The positive top tangent.

  • bottomTangent:

    The positive bottom tangent.

  • nearZ:

    The distance to the near clipping plane.

  • farZ:

    The distance to the far clipping plane.

  • reverseZ:

    A Boolean value that specifies whether the matrix uses reverse z.

See Also

Creating a 3D projective transform structure