Create a transformation matrix that represents a scaling by the given vector. Equivalent to (but faster than) scale(identity(out), vector, out).
scale(identity(out), vector, out)
The scaling vector.
The matrix to store the result in.
The transformation matrix.
Transformation matrix
Create a transformation matrix that represents a scaling by the given vector. Equivalent to (but faster than)
scale(identity(out), vector, out).