Is GLM fast enough for games?

Started by
9 comments, last by RobTheBloke 10 years, 10 months ago

In your original post you asked about compatibility issues between GLM and Direct3D. If you're going to be using Direct3D for your graphics, just use DirectXMath for your math library.

DirectXMath is the public version of XNA Math - the math library that's part of the Xbox 360 Dev Kit (XDK) used by game companies to develop Xbox 360 games. It already utilizes SSE and SSE2 instructions and is about as fast as you can get.

Cheers and good luck!

Jeromy Walsh
Sr. Tools & Engine Programmer | Software Engineer
Microsoft Windows Phone Team
Chronicles of Elyria (An In-development MMORPG)
GameDevelopedia.com - Blog & Tutorials
GDNet Mentoring: XNA Workshop | C# Workshop | C++ Workshop
"The question is not how far, the question is do you possess the constitution, the depth of faith, to go as far as is needed?" - Il Duche, Boondock Saints
Advertisement

It already utilizes SSE and SSE2 instructions and is about as fast as you can get.

*Some* of it utilizes SSE, but you'd need to use the aligned types to make the most out of it. Even then, it's not as fast as you can get, for that you'd need SOA data structures.

This topic is closed to new replies.

Advertisement