News for hackers. Stuff that matters.
Re:Google's MathFu: a x-platform geometry math library for C++ by maccard on Thursday November 13, 2014 @07:45PM (#8605169)
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...
Re:Google's MathFu: a x-platform geometry math library for C++ by jzwinck on Thursday November 13, 2014 @07:54PM (#8605213)
Try 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-...
Re:Google's MathFu: a x-platform geometry math library for C++ by maccard on Friday November 14, 2014 @06:02AM (#8606594)
I'm working with Visual Studio :) But this would have been awesome, as I think it compiled with MinGW.