setRotationFromAxisAngle method

void setRotationFromAxisAngle(
  1. dynamic axis,
  2. num angle
)
inherited

Implementation

void setRotationFromAxisAngle(axis, num angle) {
  // assumes axis is normalized

  quaternion.setFromAxisAngle(axis, angle);
}