vrld / HC

General purpose collision detection library for the use with LÖVE.
http://hc.readthedocs.org/
402 stars 48 forks source link

HC:testPoint(x, y) #8

Closed dannyfritz closed 12 years ago

dannyfritz commented 12 years ago

sees if the point given collides with any shapes. Returns all the colliding shapes in a table or false otherwise.

vrld commented 12 years ago

testPoint(x,y) seemed too generic, so I renamed it to shapesAt(x,y).

dannyfritz commented 12 years ago

Danke. Don't forget the reference documentation. Also, glad you got rid of the return false, that was weird in retrospect.