Matrix.look_at

Returns a look at matrix (4x4 and floating-point matrices only).

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)
look_at
(,,
Vector!(mt, 3) up
)
if (
(rows_ > 0) &&
(cols_ > 0)
)

Meta