#include <glm/glm.hpp> #include <iostream> using namespace std; int main() { // creating two should-be identical matrices glm::mat2x4 A((int)1); glm::mat2x4 B((float)1); float* Aptr = (float*)&A; float* Bptr = (float*)&B; for(int i = 0 ; i < 8 ; i++) cout << Aptr[i] << " "; cout << endl; for(int i = 0 ; i < 8 ; i++) cout << Bptr[i] << " "; } output before patch: 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 output after patch: 1 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0master
parent
78d3e5ca66
commit
867db84ca5
1 changed files with 1 additions and 1 deletions
Loading…
Reference in New Issue