Static variables
Static methods
staticinlineclamp(this:KhaVec2, minLimit:Vec2, maxLimit:Vec2):Vec2
staticinlineclamp(this:KhaVec2, minLimit:Float, maxLimit:Float):Vec2
staticcopyFrom(self:Vec2, source:{y:Float, x:Float}):Vec2
staticcopyFrom(source:{y:Float, x:Float}):Vec2
Copy from any object with .x .y fields
staticcopyFromArray(self:Vec2, array:ArrayAccess<Float>, index:Int):Dynamic
staticcopyFromArray<T>(arrayLike:T, index:Int):T
staticcopyInto(self:Vec2, target:{y:Float, x:Float}):{y:Float, x:Float}
staticcopyInto(target:{y:Float, x:Float}):{y:Float, x:Float}
Copy into any object with .x .y fields
staticcopyIntoArray(self:Vec2, array:ArrayAccess<Float>, index:Int):Dynamic
staticcopyIntoArray<T>(arrayLike:T, index:Int):T
staticfrom(xy:{y:Float, x:Float}):Vec2
staticfrom(source:{y:Float, x:Float}):Vec2
Create from any object with .x .y fields