(use 2d-primitives)
(with-output-to-file "test.csv"
(lambda ()
(for-each
(lambda (v)
(print (f32vector-ref v 0)","(f32vector-ref v 1)))
(bezier->vects (bezier:create (vect:create 0 0)(vect:create 2 5)(vect:create 7 5)(vect:create 10 0) 10))))
Then load test.csv into gnumeric and graph it and I see two straight line segments. Either I'm not correctly understanding how to use bezier or there is a bug.
Thanks,
Matt
-=-