Matrix.persperctiveInverse

Returns an inverse perspective matrix (4x4 and floating-point matrices only).

  1. Matrix persperctiveInverse(mt width, mt height, mt fov, mt near, mt far)
    struct Matrix(type, int rows_, int cols_)
    @safe pure nothrow static
    static if(!((rows == 2) && (cols == 2)))
    static if(!((rows == 3) && (cols == 3)))
    static if((rows == 4) && (cols == 4))
    static if(isFloatingPoint!mt)
    persperctiveInverse
    if (
    (rows_ > 0) &&
    (cols_ > 0)
    )
  2. Matrix persperctiveInverse(mt left, mt right, mt bottom, mt top, mt near, mt far)

Meta