create a vector from the given angle in radians and magnitude concode_field_sep Vector2D X_UNIT_VECTOR concode_elem_sep float x concode_elem_sep Vector2D ZERO_VECTOR concode_elem_sep Vector2D X_NEG_UNIT_VECTOR concode_elem_sep float y concode_elem_sep Vector2D Y_NEG_UNIT_VECTOR concode_elem_sep float THREEHALFPI concode_elem_sep float TWOPI concode_elem_sep Vector2D Y_UNIT_VECTOR concode_elem_sep float HALFPI concode_field_sep Vector2D add concode_elem_sep Vector2D rotate concode_elem_sep Vector2D subtract concode_elem_sep float dot concode_elem_sep float cross concode_elem_sep Vector2D project concode_elem_sep void main concode_elem_sep int compareTo concode_elem_sep float getMagnitude concode_elem_sep float angleBetween concode_elem_sep float getX concode_elem_sep Vector2D unit concode_elem_sep Vector2D getRandom concode_elem_sep float getY concode_elem_sep float getAngle concode_elem_sep Vector2D negate concode_elem_sep Vector2D subtractAndRotate concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep Vector2D divide concode_elem_sep String toString concode_elem_sep Vector2D multiply concode_elem_sep Vector2D fastRotate
Vector2D function ( final float arg0 , final float arg1 ) { return new Vector2D ( ( float ) Math . cos ( arg0 ) * arg1 , ( float ) Math . sin ( arg0 ) * arg1 ) ; }