#ifndef UTILS_H_INCLUDED #define UTILS_H_INCLUDED #include "main.h" typedef float t_mat4x4[16]; void gl_mat4x4_ortho(t_mat4x4 out, float left, float right, float bottom, float top, float znear, float zfar); const GLchar* gl_shaderfile_read(const char* path, Sint64 *out_fsize); void gl_trace_shader_or_program_log(GLuint object); GLint gl_compile_shader_from_file(GLuint shader, const char* path); #endif