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

Re: [pygame] geometry library



I'd love to take a look at it. After the amount of time I've been banging my head on this I find it surprising that you put something together so quickly, but maybe it's the minkowski sum code that's been so much effort...

--Mike

Ian Mallett wrote:
I hardcoded one. It took me less than an hour. It wasn't pro, but it worked well enough. I'll give it to you if you like.

On 7/3/07, *Michael George * <mdgeorge@xxxxxxxxxxxxxx <mailto:mdgeorge@xxxxxxxxxxxxxx>> wrote:

    Hi,

    I was wondering if anyone can suggest a good 2D computational geometry
    library for use with pygame.  I'm currently planning to use CGAL
    for my
    game, because it seems to have the features I need, but

    a) it's in C++ so it will make distributing my game much more of a
    pain
    b) it's hugely complex
    c) it's kind of a pain to download

    Anyway, I would like to be able to at minimum compute intersections
    between circles and polygons.  Ideally I would also be able to compute
    minkowski sums of these objects.  Any ideas?

    --Mike