[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] 2D, 3D vector, matrix, quaternion, geometry module
- To: PyGame <pygame-users@xxxxxxxx>
- Subject: [pygame] 2D, 3D vector, matrix, quaternion, geometry module
- From: Alex Holkner <aholkner@xxxxxxxxxxxxxx>
- Date: Tue, 15 Aug 2006 02:45:10 +1000
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Mon, 14 Aug 2006 12:42:50 -0400
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)
http://partiallydisassembled.net/euclid.html
Thought I'd jump into the 2D vector fun fest with my own sacrificial
module. This one does the usual 2D and 3D vector, matrix and quaternion
operations. It also has classes for 2D and 3D points, lines, rays, line
segments, circles and spheres, and routines for finding the nearest
points, distances and intersections between any two of those.
There is comprehensive documentation on the website but no runnable
examples outside of the doctests yet.
Some work to be done (planes, boxes and rectangles spring to mind), but
I'm following the "release early" mantra today, so you get a
cookie-dough view of the baking process.
Alex.