LifeSimulation.Core.Vector.AngleBetween C# (CSharp) Method

AngleBetween() public method

public AngleBetween ( Vector other ) : double
other Vector
return double
        public double AngleBetween(Vector other)
        {
            return Math.Atan2(this.X - other.X, this.Y - other.Y);
        }