Files
cglm/include/cglm-opengl.h
2016-10-09 17:57:55 +03:00

21 lines
390 B
C

/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/
#ifndef cglm_mat_opengl_h
#define cglm_mat_opengl_h
#include "cglm-platform.h"
#include "cglm.h"
CGLM_INLINE
void
glm_mat4_uniform(mat4 m, GLint location){
glm_platform_uniform_mat4fv(location, m[0]);
}
#endif /* cglm_mat_opengl_h */