good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: [OT] Normalizing the return result of an exponential formulaby clinton (Priest) |
on Apr 14, 2011 at 17:46 UTC ( [id://899498]=note: print w/replies, xml ) | Need Help?? |
Hi Eliya
That's kinda what I want, I think. It also handles the case where the distance is 1cm, making the boost way too large.
Rereading your code, I see you handle the decline, taking the radius into account. That could be it! Thanks
In Section
Seekers of Perl Wisdom
|
|