Files
cglm/include/cglm-opengl.h
Recep Aslantas bdcea86ac6 move types to individual header
* include cglm-common to all headers
2016-10-13 23:44:02 +03:00

21 lines
395 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-common.h"
#include "cglm-platform.h"
CGLM_INLINE
void
glm_uniform(int32_t location, mat4 m) {
glm_platform_uniform_mat4fv(location, m[0]);
}
#endif /* cglm_mat_opengl_h */