mirror of https://github.com/bjornbytes/lovr.git
Increase Jolt body & constraint limits
The new values come from comments in the official HelloWorld.cpp. After the changes the any increase of memory consumption is within the measurement error.
This commit is contained in:
parent
1ad8f23fb8
commit
431062c345
|
@ -4,9 +4,9 @@
|
|||
#include "physics.h"
|
||||
#include "joltc.h"
|
||||
|
||||
#define MAX_BODIES 2048
|
||||
#define MAX_BODY_PAIRS 2048
|
||||
#define MAX_CONTACT_CONSTRAINTS 2048
|
||||
#define MAX_BODIES 65535
|
||||
#define MAX_BODY_PAIRS 65535
|
||||
#define MAX_CONTACT_CONSTRAINTS 10240
|
||||
|
||||
static bool initialized = false;
|
||||
static JPH_Shape* queryBox;
|
||||
|
|
Loading…
Reference in New Issue