Quaternions in Python

Mike C. Fletcher mcfletch at home.com
Sat Oct 6 02:26:53 EDT 2001


There are at least two.  One is Tarn's implementation in PyOpenGL 2.0.  The
other is my implementation in OpenGLContext.  Tarn's is a far more extensive
mathematical modelling (with all their weird functions).  Mine is more
limited, and just models rotations for use with OpenGL, using Numeric
matrices to store the quaternion data.

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pyopengl/OpenGLContext/quater
nion.py?rev=1.6&content-type=text/vnd.viewcvs-markup

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pyopengl/PyOpenGL2/OpenGL/qua
ternion.py?rev=1.4&content-type=text/vnd.viewcvs-markup

Enjoy yourself,
Mike

-----Original Message-----
From: python-list-admin at python.org
[mailto:python-list-admin at python.org]On Behalf Of David Feustel
Sent: October 5, 2001 19:53
To: python-list at python.org
Subject: Quaternions in Python


Is there a Python module that does quaternion math?


--
http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list