getScale

fun getScale(matrix: Matrix2, result: Cartesian2): Cartesian2(source)

Extracts the non-uniform scale assuming the matrix is an affine transformation.

Return

The modified result parameter.

Parameters

matrix

The matrix.

result

The object onto which to store the result.

See also