blob: 8bcf7ccd9095c6e0eb8675691fc0c57f7a6d08e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef HONEY_GLM_H
#define HONEY_GLM_H
#include <lua.h>
extern const char *vec3_tname;
extern const char *mat4_tname;
void setup_glm(lua_State *L, int honey_index);
void setup_vec3(lua_State *L, int glm_tbl);
void setup_mat4(lua_State *L, int glm_tbl);
void setup_transform(lua_State *L, int glm_tbl);
void setup_camera(lua_State *L, int glm_tbl);
void array_get(lua_State *L, int max, float *array, int index);
void array_set(lua_State *L, int max, float *array, int index, float value);
#endif
|