line segment to circle collissions

Blitz3D Forums/Blitz3D Beginners Area/line segment to circle collissions

MichiGamian(Posted 2012) [#1]
does anyone know how to compute the points where a line seg intersects a circle?

if you have a function to do so I would be grateful:)

Last edited 2012


Kryzon(Posted 2012) [#2]
The Code Archives do!

Make sure to read the comments in each entry:
http://blitzbasic.com/codearcs/codearcs.php?code=998 - Blitz3D
http://blitzbasic.com/codearcs/codearcs.php?code=2130 - BlitzMax

PS: Welcome to the forums.

Last edited 2012