orthoMat

Creates a orthographic projection matrix

  1. M orthoMat(T xMin, U xMax, V yMin, W yMax, X zMin, Y zMax)
  2. M orthoMat(T width, U height, V deep)
    @nogc pure nothrow
    M
    orthoMat
    (
    M = Mat4f
    T = float
    U = float
    V = float
    )
    (
    T width = 1
    ,
    U height = 1
    ,
    V deep = 1
    )
    if (
    is4dMat!M &&
    isNumeric!T
    &&
    isNumeric!U
    &&
    isNumeric!V
    )

Parameters

width T

Width of visible zone

height U

Height of visible zone

deep V

Deep of visible zone Returns a orthographic projection matrix

Meta