code: public Vector3f getAxis() {
          final float q = (float) Math.sqrt(1 - w * w);
          return new Vector3f(x / q, y / q, z / q);
      }
docs: Returns the axis of rotation for this quaternion.
  
  @return The axis of rotation