[Fluxus] line-intersect segfault
Dave Griffiths
dave at pawfal.org
Thu Aug 28 13:57:42 PDT 2008
> i erroneously tried to calculate the intersection of a line with itself.
> it caused a segfault.
>
> (clear)
>
> (define l (build-line 2))
>
> (with-primitive l
> (pdata-set "p" 0 (vector 0 -5 0))
> (pdata-set "p" 1 (vector 3 5 0))
> (line-intersect (pdata-ref "p" 0) (pdata-ref "p" 1)))
Irritatingly, I can't get this to crash.
Is there any more to it?
cheers,
dave
More information about the Fluxus
mailing list