Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - cornjob

#1
Advanced Technical Forum / square root & math
Fri 15/08/2003 09:12:22
So anyway, I'm trying to calculate the distance between 2 points on the screen, to see if a point is within a certain radius of another point... and...

Well, I was never really a math person. The best idea I could come up with is using the pythagorean theorem... But is there a square root operation in AGS? If not, how can I make one? Can I somehow use the functions in Erica's math plugin? (Sorry, like I said, my math is very limited.) Or is there a better way to do this? I'm guessing there is.

OK, thanks. (my first tech question in years)
SMF spam blocked by CleanTalk