You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
451 B
C

#ifndef math3d_lua_binding_h
#define math3d_lua_binding_h
#include "linalg.h"
#include <lua.h>
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