getting uniform locations once, at the renderer creation, not everytime
[demo] / src / global.h
1 #ifndef GLOBAL_H_
2 #define GLOBAL_H_
3
4 #include <gmath/gmath.h>
5
6 #include "shader_manager.h"
7
8 extern ShaderManager *sdr_man;
9 extern Mat4 mprojection;
10
11 #endif // GLOBAL_H_