Re: Rotations with Quaternions

[email protected]
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
 
I added a frame clock to rotation1.c for comparison with the VeloGyro widget. Made a few additional changes so they look the same. 

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/rotation1.c

It looks like everything works fine with cairo's transforms. The quaternion rotations look stable across the reals. The quaternion rotations aren't additive with this setup but that isn't a problem with cairo_save() and cairo_restore(). You can still animate rotations without a problem.

Eric

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.