From 5b789ed67b0b9cf253875432606fc9e80bde63ef Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Wed, 19 Apr 2017 12:06:26 -0700 Subject: [PATCH] reduce max ray hits to 256 --- examples/SharedMemory/SharedMemoryPublic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/SharedMemory/SharedMemoryPublic.h b/examples/SharedMemory/SharedMemoryPublic.h index ab906172e..466f3dcb3 100644 --- a/examples/SharedMemory/SharedMemoryPublic.h +++ b/examples/SharedMemory/SharedMemoryPublic.h @@ -276,7 +276,7 @@ enum b3VREventType #define MAX_VR_BUTTONS 64 #define MAX_VR_CONTROLLERS 8 -#define MAX_RAY_INTERSECTION_BATCH_SIZE 1024 +#define MAX_RAY_INTERSECTION_BATCH_SIZE 256 #define MAX_RAY_HITS MAX_RAY_INTERSECTION_BATCH_SIZE #define MAX_KEYBOARD_EVENTS 256