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

Re: [pygame] vector class



Hi everybody


Some time ago, here on the mailinglist it has been discussed about 2D vector classes and theirs implementations. It turned out, that to make a fast vector class there are some tricks, which where discribed in various emails. Did someone try to put all these optimization into one vector class that would be possibly the fastest?




The other question that I have is: Becaues a vector class is needed for many games and other things too, why not put a fast vector class written in C into the pygame package and wrap it? (perhaps 3D vectors, matrices and quaternions too)

Perhaps you will say, there is numeric for that, but if you include that, then you already depend on that module and I'm not sure if it would be as fast.

Or might that not be such a good idea?

~DR0ID