Matrix.lookAt

Returns lookAt projection.

struct Matrix(T, ubyte R, ubyte C = R)
static
static if(isSquare && R == 4 && isFloatingPoint!T)
lookAt
(
Vector!(T, 3) eye
,
Vector!(T, 3) target
,
Vector!(T, 3) up
)
if (
R >= 2 &&
R <= 4
&&
C >= 2
&&
C <= 4
)

Meta