float distance(vector2 a, vector2 b)
float distance(vector a, vector b)
float distance(vector4 a, vector4 b)
If you want the squared distance, use distance2 instead of using this and pow.