Matrix.rotate

In-place rotation by (v, 1)

struct Matrix(T, ubyte R, ubyte C = R)
static if(isSquare && (R == 3 || R == 4) && isFloatingPoint!T)
void
rotate
(,
Vector!(T, 3) axis
)
if (
R >= 2 &&
R <= 4
&&
C >= 2
&&
C <= 4
)

Examples

Meta