I\'m trying to compute the angle between two vectors. I tried this, but it always returns zero:
public double GetAngle(Vector2 a, Vector2 b) { double angle = Mat
since you use vector2 class, I guess you can use
a-b
to get the vector from a to b.
so the angle you need is: Pi - angle(a-b).