Constructor

@:value({ y : 0, x : 0 })inlinenew(x:Float = 0, y:Float = 0)

Variables

Methods

inlineadd(vec:Vector2):Vector2

inlinediv(value:Float):Vector2

inlinedot(v:Vector2):Float

inlinemult(value:Float):Vector2

inlinenormalize():Void

Deprecated: "normalize() will be deprecated soon, use the immutable normalized() instead"

inlinesub(vec:Vector2):Vector2