Matrix.scale

Returns scale matrix.

struct Matrix(T, uint U, uint V)
static
static if(U == V)
scale
(
const Vector!(T, U) vec
)
if (
__traits(isArithmetic, T)
)

Parameters

vec Vector!(T, U)

scale vector

Return Value

Type: Matrix

scale matrix

Meta