1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-04 13:33: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:
Bjorn 2023-09-13 15:21:31 -07:00 committed by GitHub
commit ec8658f9ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}