Place a hard limit on the max_contacts_reported property

This commit is contained in:
Aaron Franke 2025-01-01 17:20:07 -08:00
parent 7598b08ec2
commit a5de242a2f
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
7 changed files with 9 additions and 1 deletions

View file

@ -34,6 +34,8 @@
#include "core/object/class_db.h"
#include "core/object/ref_counted.h"
constexpr int MAX_CONTACTS_REPORTED_2D_MAX = 4096;
class PhysicsDirectSpaceState2D;
template <typename T>
class TypedArray;