setFromMatrixScale method

Vector3 setFromMatrixScale(
  1. dynamic m
)

Implementation

Vector3 setFromMatrixScale(m) {
  final sx = setFromMatrixColumn(m, 0).length;
  final sy = setFromMatrixColumn(m, 1).length;
  final sz = setFromMatrixColumn(m, 2).length;

  x = sx;
  y = sy;
  z = sz;

  return this;
}