getScale

fun getScale(matrix: Matrix4, result: Cartesian3): Cartesian3(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