setRotationFromAxisAngle method

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

Implementation

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

  quaternion.setFromAxisAngle(axis, angle);
}