glInversePerspective

Construct an inverse, optionally non-symmetric perspective matrix

  1. mat4 glInversePerspective(float fovy, float aspect, float near, float far)
  2. mat4 glInversePerspective(float left, float right, float bottom, float top, float near, float far)
    nothrow @nogc
    mat4
    glInversePerspective
    (
    float left
    ,
    float right
    ,
    float bottom
    ,
    float top
    ,
    float near
    ,
    float far
    )
    in { assert (right - left != 0); assert (top - bottom != 0); assert (far - near != 0); }

Meta