Matrix.camera

Returns camera projection

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

Examples

Meta