linearly v0.32.0 • Docs
linearly v0.32.0 / mat4 / getScaling
Function: getScaling()
getScaling(
mat
):vec3
Returns the scaling factor component of a transformation matrix. If a matrix is built with fromRotationTranslationScale with a normalized Quaternion paramter, the returned vector will be the same as the scaling vector originally supplied.
Parameters
• mat: mat4