#ifndef math3d_lua_binding_h #define math3d_lua_binding_h #include "linalg.h" #include struct boxstack { struct lastack *LS; }; struct refobject { int64_t id; }; #define MATH3D_STACK "_MATHSTACK" int math3d_homogeneous_depth(); // binding functions const float * math3d_from_lua(lua_State *L, struct lastack *LS, int index, int type); const float * math3d_from_lua_id(lua_State *L, struct lastack *LS, int index, int *type); #endif