mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Fixed ellipse-ellipse intersection test.
This commit is contained in:
parent
60db16b1c3
commit
025f1c5afc
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class Ellipse
|
||||||
rectangle.intersectsEllipse @
|
rectangle.intersectsEllipse @
|
||||||
|
|
||||||
intersectsEllipse: (ellipse) ->
|
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()
|
#return true if @containsPoint ellipse.getPos()
|
||||||
|
|
||||||
intersectsShape: (shape) ->
|
intersectsShape: (shape) ->
|
||||||
|
|
Loading…
Reference in a new issue