Vectors, matrices and other euclidian fun
It occurs to me that there's probably still people who aren't aware of the very cool, quite extensive library of euclidian fun called euclid written by Alex Holkner (of pyglet fame). It's been around forever and implements vectors and matrices (with various standard transforms) in 2D and 3D. It also implements a bunch of geometry (points, line segments, circles, ...) and has intersection tests for all of them.Don't write your own vector class! Use euclid! :)
Maybe one day I'll write a full cython translation of the whole module... but for most uses it's plenty fast enough as plain Python.
(log in to comment)
Cosmologicon on 2010/04/02 21:34:
Is it still in development? We used it for Flight, and I had a few feature requests, like being able to take the minor of a matrix.