mirror of https://github.com/bjornbytes/lovr.git
Add hand joint radius to getSkeleton;
This commit is contained in:
parent
7636a3c5e9
commit
76557eb6ed
|
@ -453,10 +453,12 @@ static int l_lovrHeadsetGetSkeleton(lua_State* L) {
|
||||||
lua_pushnumber(L, pose[0]);
|
lua_pushnumber(L, pose[0]);
|
||||||
lua_pushnumber(L, pose[1]);
|
lua_pushnumber(L, pose[1]);
|
||||||
lua_pushnumber(L, pose[2]);
|
lua_pushnumber(L, pose[2]);
|
||||||
|
lua_pushnumber(L, pose[3]);
|
||||||
lua_pushnumber(L, angle);
|
lua_pushnumber(L, angle);
|
||||||
lua_pushnumber(L, ax);
|
lua_pushnumber(L, ax);
|
||||||
lua_pushnumber(L, ay);
|
lua_pushnumber(L, ay);
|
||||||
lua_pushnumber(L, az);
|
lua_pushnumber(L, az);
|
||||||
|
lua_rawseti(L, -9, 8);
|
||||||
lua_rawseti(L, -8, 7);
|
lua_rawseti(L, -8, 7);
|
||||||
lua_rawseti(L, -7, 6);
|
lua_rawseti(L, -7, 6);
|
||||||
lua_rawseti(L, -6, 5);
|
lua_rawseti(L, -6, 5);
|
||||||
|
|
Loading…
Reference in New Issue