1
2
///////////////////////////////////////////////////////////////////////////////
// testLineCircleIntersection() : test whether a line intersects with a circle
I used this for collision-detection in my game (test whether laser beam strikes hit zone etc).
May come in handy for someone else out there ...
May come in handy for someone else out there ...
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.