Constructor

inline new (x:Float = 0, y:Float = 0)

Variables

length:Float

x:Float

y:Float

Methods

inline add (vec:Vector2):Vector2

inline angle (v:Vector2):Float

inline div (value:Float):Vector2

inline dot (v:Vector2):Float

inline fast ():FastVector2

inline mult (value:Float):Vector2

inline normalize ():Void

inline setFrom (v:Vector2):Void

inline sub (vec:Vector2):Vector2