Carlos Dominguez wrote:
> Thanks for the feedback, I already commited a second version, I
> removed all the code using libxml and just use k3d::xml which is
> really easy to understand actually :)
> To be honest I was kind of scared to commit something hehe but there
> it goes.
>
> BTW, also I've been having some trouble converting my bezier curves to
> NURBS, which should be really easy (just changing the knot vector) and
> apparently for the first point of the curve it does it correctly but
> for the end point it don't and I'm pretty shure the knot vector is
> fine the way I construct it. I'm going to put an example on the
> parse_path function and commit it so you see what I mean and could
> tell me what I'm doing wrong hehe :-) Thanks!
Sure ... while you're at it, you should be passing xml::element around
by-reference instead of by-value, so you aren't needlessly making copies
of the data.
Cheers,
Tim
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development