target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java
public static Complexd fromAngleRad(double angle) {
        return new Complexd(TrigMath.cos(angle), TrigMath.sin(angle));
    }
public static Complexd fromAngleRad(double angle) {
        return new Complexd(TrigMath.cos(angle), TrigMath.sin(angle));
    }
Creates a new complex from the double angle in radians.

@param angle The angle in radians
@return The complex defined by the angle