Vector, matrix, normalize, rotate. What package?

shredwheat pete at shinners.org
Tue Feb 27 18:00:35 EST 2007


On Feb 27, 2:49 pm, "Mattias Brändström" <thebra... at brasse.org> wrote:
> I'm trying to find what package I should use if I want to:
>
> 1. Create 3d vectors.
> 2. Normalize those vectors.
> 3. Create a 3x3 rotation matrix from a unit 3-d vector and an angle in
> radians.
> 4. Perform matrix multiplication.

You should have good luck with cgkit. If you are having trouble
getting a compile of v2, there is an older v1 that is pure python.

There are various implementations all around the net, but I'm not sure
of anything standalone and actually released.




More information about the Python-list mailing list