createUniformScale MethodStatic

Create a matrix with uniform scale factor "s":

[s000s000s]\begin{bmatrix}s & 0 & 0 \\ 0 & s & 0\\ 0 & 0 & s\end{bmatrix}

createUniformScale(scaleFactor: number): Matrix3d

Parameter Type Description
scaleFactor number  

Returns - Matrix3d

Defined in

Last Updated: 17 December, 2024