Matrix.perspective_inverse

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

  1. Matrix perspective_inverse(mt width, mt height, mt fov, mt near, mt far)
  2. Matrix perspective_inverse(mt left, mt right, mt bottom, mt top, 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)
    perspective_inverse
    if (
    (rows_ > 0) &&
    (cols_ > 0)
    )

Meta