linearly v0.32.0Docs


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

Returns

vec3

Defined in

src/mat4.ts:759open in new window