code: public static Vector2d createDirectionRad(double angle) {
          return new Vector2d(TrigMath.cos(angle), TrigMath.sin(angle));
      }
docs: Gets the direction vector of a certain angle in radians.
  
  @param angle in radians
  @return the direction vector