c# - WPF, How to detect a collision between two Ellipses? -


i'm trying detect collision between 2 ellipses

public bool checkcollision(ellipse a, ellipse  b) {          if (a.renderedgeometry.bounds.intersectswith(b.renderedgeometry.bounds) )         return true;     return false;   } 

but doesnt work because true time


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -