Fixed ellipse-ellipse intersection test.

This commit is contained in:
Nick Winter 2015-03-04 13:53:57 -08:00
parent 60db16b1c3
commit 025f1c5afc

View file

@ -153,7 +153,7 @@ class Ellipse
rectangle.intersectsEllipse @
intersectsEllipse: (ellipse) ->
@rectangle().intersectsEllipse @ # TODO: actually implement ellipse-ellipse intersection
@rectangle().intersectsEllipse ellipse # TODO: actually implement ellipse-ellipse intersection
#return true if @containsPoint ellipse.getPos()
intersectsShape: (shape) ->