views:

759

answers:

6

I'm looking for a free to use game engine math library. Specifically I'd like a good matrix and vector implementation. And everything needed to move objects in 3D space. Does anyone know any good ones? I'm targeting OpenGL. I'd like to write them myself but don't have the time LOL.

+2  A: 

You might want to consider Blitz++.

Michael Aaron Safyan
A: 

See my response here: http://stackoverflow.com/questions/1491716/best-lib-for-vector-array-in-c/1492059#1492059

Michaël Larouche
The questions seem different. This question is focussed on games, the one you link to seems more interested in high-dimensional generality. I can't imagine many games care about 9D vectors, for instance - better to have more specialised 4D vectors and matrices.
Steve314
+1  A: 

If you want an entire 3D engine (which of course would contain the 3d maths you need) see Ogre 3D (LGPL)

Tom Leys
Actually MIT license now for current svn trunk and all coming releases.
haffax
+3  A: 

I'd recommend OpenGL Mathematics (GLM)

Though if you want physics with your math you could go with Bullet Physics Library

Finally if you want an entire engine i'd go with OGRE

Bruce
I think GLM will work nicely... seems light weight enough and has what I need
Polaris878
+1  A: 

Besides Ogre 3D, there's also Crystal Space. Here's an article that compares the two.

Void
That article appears to 404 on me.
Chris Kaminski
@darthcoder, it looks like arcanoria.com did some reorganizing. I've updated the article's URL, accordingly
Void
A: 

I have good work with Open Dynamics Engine is Full and Stable Physics Engine, the ode in a BSD License, and have some functions for Matrix Manipulation, Quaternion and rotations.