Vec3.AngleBetween

static float AngleBetween(Vec3 a, Vec3 b)

Calculates the angle between two vectors in degrees! Vectors do not need to be normalized, and the result will always be positive.

   
Vec3 a The first, initial vector, A. Does not need to be normalized.
Vec3 b The second vector, B, that we’re finding the angle to. Does not need to be normalized.
RETURNS: float A positive angle between two vectors in degrees!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!