|
![](/i/fill.gif) |
Retsam wrote:
> Retsam wrote:
>
>>You know, this has been bugging me, because it just seems like there's got
>>to be a way to do it with straight vector math, without resorting to
>>sin/cos parameterizations and taking partial derivatives (with respect
>>to each parameter) to find local minima.
>>
>>The best I've been able to come up with so far is this...
>
>
>
> Okay, I think I may have a fast and much more accurate approach than most of
> the others mentioned. First of all, it will be a numerical approximation
> approach, so no derivatives.
Thanks for the code, that's pretty much the approach I was looking at,
but hadn't got around to implementing it yet.
Post a reply to this message
|
![](/i/fill.gif) |