blob: 786fcf07be4aac5686cf17f4043e54a50f1a3488 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <lua.h>
#include <honeysuckle.h>
void setup_glm(lua_State *L, int honey_index)
{
lua_createtable(L, 0, 1);
int glm_index = lua_gettop(L);
setup_mat4(L, glm_index);
setup_transform(L, glm_index);
lua_setfield(L, honey_index, "glm");
}
|