target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java
public static Quaterniond from(double x, double y, double z, double w) {
         return x == 0 && y == 0 && z == 0 && w == 0 ? ZERO : new Quaterniond(x, y, z, w);
    }
public static Quaterniond from(double x, double y, double z, double w) {
         return x == 0 && y == 0 && z == 0 && w == 0 ? ZERO : new Quaterniond(x, y, z, w);
    }
Creates a new quaternion from the double 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 double components