setRotationFromMatrix method

void setRotationFromMatrix(
  1. dynamic m
)
inherited

Implementation

void setRotationFromMatrix(m) {
  // assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)

  quaternion.setFromRotationMatrix(m);
}