rotate method
Implementation
void rotate(Vector3 axis, double angle) {
rot = Quaternion.axisAngle(axis, angle)..asRotationMatrix().multiplied(rot.asRotationMatrix())..normalized();
forceUpdate = true;
}
void rotate(Vector3 axis, double angle) {
rot = Quaternion.axisAngle(axis, angle)..asRotationMatrix().multiplied(rot.asRotationMatrix())..normalized();
forceUpdate = true;
}