|
 |
On 9/10/25 09:27, Bald Eagle wrote:
> I'll make a speculative prediction and say that the algorithm will try to take
> the sqrt of that negative radius and fail - either throwing an error, or just
> blanking out that portion of the curve - or the whole segment.
Thanks for reference! :-)
If you're referring to the sqrt I think you are, you've guessed
correctly! :-) I have a potential fix for it. The sqrt(-) along with
some fine detail in how std::min(), std::max() work when passed a -nan
value as the first argument vs the second argument cause the segment
blink out issue. Only limited testing thus far. Maybe I'll get to more
tonight.
I see some other not really wrong, but not optimal stuff happening too
with the cylinder segment bounding in y. Sort of as if it was written to
support on curve points in ascending or descending order less any
optimization for the y coordinates (The cylinders get taller and taller
as you have more segments instead of aligning with each of the segments
in y).
Bill P.
Post a reply to this message
|
 |