Esempio n. 1
0
func AngleBetween(v1 mgl64.Vec2, v2 mgl64.Vec2) float64 {
	return math.Acos(v1.Dot(v2) / (v1.Len() * v2.Len()))
}