createScale MethodStatic

Create a matrix with distinct x,y,z diagonal (scale) entries.

[sx000sy000sz]\begin{bmatrix}s_x & 0 & 0 \\ 0 & s_y & 0\\ 0 & 0 & s_z\end{bmatrix}

createScale(scaleFactorX: number, scaleFactorY: number, scaleFactorZ: number, result?: Matrix3d): Matrix3d

Parameter Type Description
scaleFactorX number  
scaleFactorY number  
scaleFactorZ number  
result Matrix3d  

Returns - Matrix3d

Defined in

Last Updated: 14 November, 2024