calculate the angle between two vectors

getAngle(x, y)

x

a vector

y

the angle between the vectors

M.Beauvais