setFromMatrixScale method

Vector3 setFromMatrixScale(
  1. dynamic m
)

Implementation

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

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

  return this;
}