[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] geometry library




On 04/07/2007, at 7:58 AM, Richard Jones wrote:

On Wed, 4 Jul 2007, Michael George wrote:
I was wondering if anyone can suggest a good 2D computational geometry
library for use with pygame.

http://code.google.com/p/pyeuclid/
"Vector, matrix and quaternion classes for use with 2D and 3D games and
  graphics applications. Compatible with Pygame."

pyeuclid doesn't provide the intersection functions you need. (Nor does it have any notion of a "polygon" -- you'll need something quite a bit more sophisticated).

Alex.