From ececf2c8624f4d95d9413686839f7fa6e5bb5044 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 2 Jun 2020 08:54:14 -0400 Subject: Add a shape cast Add a raycast like function, which can cast shapes. phys.shapecast(), along with a shape structure needed to call this function. --- src/client/lua_api/phys/cbphysbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/lua_api/phys/cbphysbox.cpp') diff --git a/src/client/lua_api/phys/cbphysbox.cpp b/src/client/lua_api/phys/cbphysbox.cpp index e675a04..6763945 100644 --- a/src/client/lua_api/phys/cbphysbox.cpp +++ b/src/client/lua_api/phys/cbphysbox.cpp @@ -33,7 +33,7 @@ extern std::list Objects; //phys.newphysbox({vector3 size},{vector3 origin},mass) static int newcbphysbox(lua_State* L){// - printf("Createing new cbphysbox\n"); + //printf("Createing new cbphysbox\n"); double sx,sy,sz,x,y,z,mass; //Get the data mass = lua_tonumber(L,-1);//{v3 size}, {v3 origin}, mass -- cgit v1.2.3-70-g09d2