Merge branch 'master' into vulkan
This commit is contained in:
2
thirdparty/src/Lua/loadlib.cpp
vendored
2
thirdparty/src/Lua/loadlib.cpp
vendored
@@ -176,6 +176,8 @@ static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) {
|
||||
** =======================================================================
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#undef setprogdir
|
||||
|
||||
2
thirdparty/src/chipmunk/chipmunk.c
vendored
2
thirdparty/src/chipmunk/chipmunk.c
vendored
@@ -89,7 +89,7 @@ cpAreaForSegment(cpVect a, cpVect b, cpFloat r)
|
||||
}
|
||||
|
||||
cpFloat
|
||||
cpMomentForPoly(cpFloat m, const int count, const cpVect *verts, cpVect offset, cpFloat r)
|
||||
cpMomentForPoly(cpFloat m, int count, const cpVect *verts, cpVect offset, cpFloat r)
|
||||
{
|
||||
// TODO account for radius.
|
||||
if(count == 2) return cpMomentForSegment(m, verts[0], verts[1], 0.0f);
|
||||
|
||||
Reference in New Issue
Block a user