gdx.math.vector

add

(add v1 v2)

angle-from-vector

(angle-from-vector v)

converts theta of Vector2 to angle from top (top is 0 degree, moving left is 90 degree etc.), counterclockwise

diagonal-direction?

(diagonal-direction? [x y])

direction

(direction [sx sy] [tx ty])

distance

(distance v1 v2)

length

(length v)

normal-vectors

(normal-vectors [x y])

normalise

(normalise v)

normalised?

(normalised? v)

scale

(scale v n)