diff options
| author | Alexander Pickering <alex@cogarr.net> | 2018-06-28 16:05:26 -0600 |
|---|---|---|
| committer | Alexander Pickering <alex@cogarr.net> | 2018-06-28 16:05:26 -0600 |
| commit | ef25a513437196a3ea9ee45e6e03565eb86067d2 (patch) | |
| tree | acd43d214f9a7ec96e7fcd66097fd13593dd8f38 /src/client/lua_api/phys/butil.cpp | |
| parent | 2260a1dda8693664c77a03781ae07fbb5f0ea8a0 (diff) | |
| download | brokengine-ef25a513437196a3ea9ee45e6e03565eb86067d2.tar.gz brokengine-ef25a513437196a3ea9ee45e6e03565eb86067d2.tar.bz2 brokengine-ef25a513437196a3ea9ee45e6e03565eb86067d2.zip | |
Simplified makefile
Made makefile much simpiler, added option to build dynamically with
DEBUG=true
Diffstat (limited to 'src/client/lua_api/phys/butil.cpp')
| -rw-r--r-- | src/client/lua_api/phys/butil.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/client/lua_api/phys/butil.cpp b/src/client/lua_api/phys/butil.cpp deleted file mode 100644 index 6319688..0000000 --- a/src/client/lua_api/phys/butil.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include <stdio.h> - -extern "C" { - #include <lua.h> - #include <lauxlib.h> - #include <lualib.h> -} - -#include <btBulletDynamicsCommon.h> - -#include "butil.hpp" - -btVector3 lua_popbtvector(lua_State* L,int pos){ - f32 p[3]; - - for(int i = 0; i < 3; i++){ - lua_pushnumber(L,i+1); - lua_gettable(L,pos); - p[i] = (f32) lua_tonumber(L,-1); - lua_pop(L,1); - } - - printf("Found vector (%f,%f,%f)\n",p[0],p[1],p[2]); - - return btVector3(p[0],p[1],p[2]); -} |
