glPerspective

Construct a symmetric perspective matrix ( 4x4 and floating - point matrices only ).

  1. mat4 glPerspective(float fovy, float aspect, float near, float far)
    nothrow @nogc
    mat4
    glPerspective
    (
    float fovy
    ,
    float aspect
    ,
    float near
    ,
    float far
    )
  2. mat4 glPerspective(float left, float right, float bottom, float top, float near, float far)

Meta