WPF 2D 碰撞檢測

weixin_34198881發表於2018-08-14
原文:WPF 2D 碰撞檢測

 

 

var intersectionDetail = path1.Data.FillContainsWithDetail(path2.Data);

if (intersectionDetail != IntersectionDetail.NotCalculated &&
    intersectionDetail != IntersectionDetail.Empty)
{
    // collision
}

相關文章