Vec2
A two dimensional vector.
Properties
Methods
Vec2:new(x, y)
Vec2:new(x, y)length()
length()distanceTo(otherVec2)
distanceTo(otherVec2)angleTo(otherVec2)
angleTo(otherVec2)normalized()
normalized()scale(scalar)
scale(scalar)toString()
toString()Last updated