target/generated-sources/template/com/flowpowered/math/vector/Vector2d.java
public static Vector2d createDirectionRad(double angle) {
        return new Vector2d(TrigMath.cos(angle), TrigMath.sin(angle));
    }
public static Vector2d createDirectionRad(double angle) {
        return new Vector2d(TrigMath.cos(angle), TrigMath.sin(angle));
    }
Gets the direction vector of a certain angle in radians.

@param angle in radians
@return the direction vector