aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-10-31 12:51:32 -0400
committerAlexander Pickering <alex@cogarr.net>2018-10-31 12:51:32 -0400
commit77b26fba6e78ac4af2b28b3bbb4646dea5682ed1 (patch)
tree392f5d7cae1e2ea9f371d8a488cc64152e67173a /src/client/lua_api
parentd6edc1d0c534d77b69a2ee828e6d3cce6b981232 (diff)
downloadbrokengine-77b26fba6e78ac4af2b28b3bbb4646dea5682ed1.tar.gz
brokengine-77b26fba6e78ac4af2b28b3bbb4646dea5682ed1.tar.bz2
brokengine-77b26fba6e78ac4af2b28b3bbb4646dea5682ed1.zip
More consistent whitespace
Diffstat (limited to 'src/client/lua_api')
-rw-r--r--src/client/lua_api/phys/cbphysbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/lua_api/phys/cbphysbox.cpp b/src/client/lua_api/phys/cbphysbox.cpp
index e2986f4..578fc8d 100644
--- a/src/client/lua_api/phys/cbphysbox.cpp
+++ b/src/client/lua_api/phys/cbphysbox.cpp
@@ -38,7 +38,7 @@ static int newcbphysbox(lua_State* L){//
lua_pop(L,1);//{v3 size}, {v3 origin}
popvector3d(L,&x,&y,&z);//{v3 size}
popvector3d(L,&sx,&sy,&sz);//
-
+
pushvector3d(L,sx,sy,sz);//{v3 size}
pushvector3d(L,x,y,z);//{v3 size},{v3 origin}
lua_pushnumber(L,mass);//{v3 size}, {v3 origin}, mass
@@ -53,7 +53,7 @@ static int newcbphysbox(lua_State* L){//
lua_pop(L,1);
r->setUserPointer(n);
-
+
lua_newtable(L);//{}
lua_pushlightuserdata(L,r);//{},ud_rigidbody
lua_setfield(L,-2,"rigidbody");//{}
@@ -62,7 +62,7 @@ static int newcbphysbox(lua_State* L){//
luaL_getmetatable(L,"phys.physbox");//{},{phys.physbox}
lua_setmetatable(L,-2);//{}
-
+
return 1;
}