code: public static Quaternionf fromImaginary(float x, float y, float z) {
           return x == 0 && y == 0 && z == 0 ? ZERO : new Quaternionf(x, y, z, 0);
      }
docs: Creates a new quaternion from the float imaginary components.
  
  <p>The {@link #ZERO} constant is re-used when {@code x}, {@code y}, and {@code z} are 0.</p>
  
  @param x The x (imaginary) component
  @param y The y (imaginary) component
  @param z The z (imaginary) component
  @return The quaternion created from the float imaginary components