From f48dc493b5b77fd4e4472dd6c78b7542a4884129 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 14 May 2015 15:01:55 +0800 Subject: add basic matrix implementation --- nerv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nerv.c') diff --git a/nerv.c b/nerv.c index 2118a3c..42b50b4 100644 --- a/nerv.c +++ b/nerv.c @@ -2,12 +2,14 @@ #include "lauxlib.h" #include "lualib.h" -extern int nerv_point_init(lua_State *L); +extern void nerv_point_init(lua_State *L); +extern void nerv_matrix_init(lua_State *L); LUALIB_API int luaopen_libnerv(lua_State *L) { lua_newtable(L); lua_pushvalue(L, -1); lua_setfield(L, LUA_GLOBALSINDEX, "nerv"); nerv_point_init(L); + nerv_matrix_init(L); return 1; } -- cgit v1.2.3