.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Offtopic (http://forums.bots-united.com/forumdisplay.php?f=23)
-   -   Rational trigonometry (http://forums.bots-united.com/showthread.php?t=4496)

sfx1999 21-09-2005 03:34

Re: Rational trigonometry
 
It seems that spread is just the sine of an angle squared.

CyKo74 24-09-2005 02:07

Re: Rational trigonometry
 
I had proggie some time ago. Lots o'moving objects so it was awfully slow. It was quite obvious to me to get rid of sqrt in func's that dealed with distance-relativety (FindClosest ...). But still, when you need distance (not relative but precise), its greeks way or the highway.

Spread is good in terms of math, nice in optimize stage, probably. But there is no simple or obvious representation of it.

Overall, interesting... how da hell all that high-math would look after this...

DrEvil 24-09-2005 02:35

Re: Rational trigonometry
 
In some cases you can't use lengthsquared or it jacks up the results, like A*. Most other cases its fine, closest obj, check range of target vs sqrange of weapon or whatever.

Pierre-Marie Baty 26-09-2005 22:43

Re: Rational trigonometry
 
Read the intro.
Makes sense.
Reading the 1st chapter... this thing is really getting me curious about that guy's way of doing math!


All times are GMT +2. The time now is 11:53.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.