Create a transformation matrix that represents a scaling by the given vector. This is 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. This is equivalent to (but faster than)
scale(identity(out), vector, out).