Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualthecheeselover

Posted 30 September 2012 - 08:32 AM

Hi,

I've been recently searching for a good xna-like math library for C++ preferably OpenGL friendly without any good result. I'm a C# programmer who started to learn C++ two weeks ago, so that's why I don't like C++ libraries mapped from C (I can't stand and I'm not used to dirty code and not object-oriented programming). I found GLM and CML, but it seems like there aren't enough tutorials and documentation.


This is what I absolutely need:

-> 3D Vector class with math functions like the dot product and the cross product. Needs to be able to be transformed by a matrix.
-> 2D Vector class with basic math functions. Needs to be able to be transformed by a matrix.
-> Matrix4x4 (int, float, and/or double) class that with view, orthogonal and perspective projection, rotation, translation and scale functions.


Extra stuff:

-> Basic collision detection (view frustum, AAB, ray...)

Thank you for your help Posted Image

#1thecheeselover

Posted 29 September 2012 - 05:12 PM

Hi,

I've been recently searching for a good xna-like math library for C++ preferably OpenGL friendly without any good result. I'm a C# programmer who started to learn C++ two weeks ago, so that's why I don't like C++ libraries mapped from C (I can't stand and I'm not used to dirty code and not object-oriented programming). I found GLM and CML, but it seems like there aren't enough tutorials and documentation.


This is what I absolutely need:

-> 3D Vector class with math functions like the dot product and the cross product. Needs to be able to be transformed by a matrix.
-> 2D Vector class with basic math functions. Needs to be able to be transformed by a matrix.
-> Matrix4x4 (int, float, and/or double) class that with view, orthogonal and perspective projection, rotation, translation and scale functions.


Extra stuff:

-> Basic collision detection (view frustum, AAB, ray...)

Thank you for your help :)

PARTNERS