Constructor

inline new (?x:Float, ?y:Float)

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 mult (value:Float):Vector2

inline normalize ():Void

inline setFrom (v:Vector2):Void

inline sub (vec:Vector2):Vector2