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:
Josip Miskovic 2024-02-13 17:25:43 +01:00
parent 1ad8f23fb8
commit 431062c345
1 changed files with 3 additions and 3 deletions

View File

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