vkOrthographic

Construct an orthographic matrix from scale and aspect ( 4x4 and floating - point matrices only ).

  1. mat4 vkOrthographic(float left, float right, float bottom, float top, float near, float far)
  2. mat4 vkOrthographic(float scale, float aspect, float near, float far)
    nothrow @nogc
    vkOrthographic
    (
    float scale
    ,
    float aspect = 1.0f
    ,
    float near = -1.0
    ,
    float far = 1.0
    )

Meta