4 ms·
Only downside I found with GLM is it is dog slow when built without optimisations, making debugging painful, and as it is a header only library you can't compil
by maccard 12y ago
Only downside I found with GLM is it is dog slow when built without optimisations, making debugging painful, and as it is a header only library you can't compile an optimised version for debugging purposes. I'm not aware of any libraries that solve this problem though, while still remaining as fast when fully optimised. I did consider trying to create a custom recompiled header built with full optimisations but I never got around to investigating it as an option...
- jzwinck 12y agoTry this [1]: #pragma GCC push_options #pragma GCC optimize("O2") #include <something> #pragma GCC pop_options [1] https://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-Pragmas.html#Function-Specific-Option-Pragmas https://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-...
- maccard 12y agoI'm working with Visual Studio :) But this would have been awesome, as I think it compiled with MinGW.