public static Vec2D fromDegrees2(double angleInDegrees,double magnitude){
  double x=magnitude * Math.sin(angleInDegrees * Math.PI / 180);
  double y=magnitude * Math.cos(angleInDegrees * Math.PI / 180);
  return new Vec2D(x,y);
}

public static Vec2D fromDegrees2 ( double angleInDegrees , double magnitude ) { double x = magnitude * Math . sin ( angleInDegrees * Math . PI / 180 ) ; double y = magnitude * Math . cos ( angleInDegrees * Math . PI / 180 ) ; return new Vec2D ( x , y ) ; }
create a 2d vector from an angle relative to the positive y - axis and a magnitude
