rotateOnAxis method

Object3D rotateOnAxis(
  1. dynamic axis,
  2. num angle
)
inherited

Implementation

Object3D rotateOnAxis(axis, num angle) {
  // rotate object on axis in object space
  // axis is assumed to be normalized

  _q1.setFromAxisAngle(axis, angle);

  quaternion.multiply(_q1);

  return this;
}