Ejemplo n.º 1
0
        public static bool IsCollidedRectRect2(SRect Rect0_, SRect Rect1_, SPoint Dir0_, SPoint Dir1_, SCollisionInfo CollisionInfo_)
        {
            if (!IsCollidedRectRect(Rect0_, Rect1_, Dir0_.GetSub(Dir1_), CollisionInfo_))
            {
                return(false);
            }

            CollisionInfo_.Point.Add(Dir1_.GetMulti(CollisionInfo_.Time));
            return(true);
        }