mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-07 06:43:34 +00:00
Merge pull request #702 from jmiskovic/fix/distance-joint-get-anchor
Fix getter for distance joint anchors
This commit is contained in:
commit
ec8658f9ef
|
@ -172,9 +172,9 @@ static int l_lovrDistanceJointGetAnchors(lua_State* L) {
|
|||
lua_pushnumber(L, anchor1[0]);
|
||||
lua_pushnumber(L, anchor1[1]);
|
||||
lua_pushnumber(L, anchor1[2]);
|
||||
lua_pushnumber(L, anchor1[0]);
|
||||
lua_pushnumber(L, anchor1[1]);
|
||||
lua_pushnumber(L, anchor1[2]);
|
||||
lua_pushnumber(L, anchor2[0]);
|
||||
lua_pushnumber(L, anchor2[1]);
|
||||
lua_pushnumber(L, anchor2[2]);
|
||||
return 6;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue