Пример #1
0
        IEnumerable <Vector2> GetAllSeperatingAxes(ICollider a, ICollider b)
        {
            Assert.Ref(a, b);

            foreach (Vector2 v in a.GetSeperatingAxes())
            {
                yield return(v);
            }
            foreach (Vector2 v in b.GetSeperatingAxes())
            {
                yield return(v);
            }
        }