rotateOnAxis method
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;
}
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;
}