| Newsgroups |
gmane.comp.lib.cairo |
| Message-ID |
<[email protected]> |
Hi Cairo Folks,
Would using quaternions for rotation and shear be workable internally in Cairo? It would make for a simplified function for setting up the rotation and shear of a drawing by requiring pitch, roll and yaw parameters. This is something that is visually easier for a programmer to understand even when drawing in 2d.
This is some test code using quaternions with Cairo and GTK.
https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/ellipse3.c
Eric
--
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo