Groovounet/glm — pull request #5 by zhumeng1989 (2012-03-24 13:52:33+00:00)
Title: Fixed a bug in test/gtx_simd_mat4->test_mulD

================================
I'm a beginner both in glm and github. When I was learning glm test code, I found a bug on the 184 line in gtx_simd_mat4.cpp where (__m128* )&Out[i] will abort with

"Unhandled exception at 0x778915de in test-gtx_simd_mat4.exe: 0xC0000005: Access violation reading location 0x00000000".

This is because the c-style cast from glm::mat4* to __m128* can't guarantee the 16 alignment, but the class glm::simdMat4 guarantees it defined with GLM_ALIGNED_STRUCT(16).