resetRotation method

void resetRotation()

Reset the rotation of the sphere

Implementation

void resetRotation() {
  rotationX = 0;
  rotationY = 0; // Reset rotationY
  rotationZ = 0;
  setState(() {});
}