public static Vector2f createDirectionRad(float angle) {
        return new Vector2f(TrigMath.cos(angle), TrigMath.sin(angle));
    }
public static Vector2f createDirectionRad(float angle) {
        return new Vector2f(TrigMath.cos(angle), TrigMath.sin(angle));
    }
public static Vector2f createDirectionRad ( float angle ) { return new Vector2f ( TrigMath . cos ( angle ) , TrigMath . sin ( angle ) ) ; }
Gets the direction vector of a certain angle in radians.

@param angle in radians
@return the direction vector
Gets the direction vector of a certain angle in radians .