target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java
public static Quaternionf from(float x, float y, float z, float w) {
         return x == 0 && y == 0 && z == 0 && w == 0 ? ZERO : new Quaternionf(x, y, z, w);
    }
public static Quaternionf from(float x, float y, float z, float w) {
         return x == 0 && y == 0 && z == 0 && w == 0 ? ZERO : new Quaternionf(x, y, z, w);
    }
Creates a new quaternion from the float components.

<p>The {@link #ZERO} constant is re-used when {@code x}, {@code y}, {@code z}, and {@code w} are 0.</p>

@param x The x (imaginary) component
@param y The y (imaginary) component
@param z The z (imaginary) component
@param w The w (real) component
@return The quaternion created from the float components