make reflectors optional

don't waste memory per object-instance on non reflective objects
This commit is contained in:
AzaezelX 2026-02-19 14:46:19 -06:00
parent 2dae0fbbad
commit 01b10cfb89
4 changed files with 56 additions and 23 deletions

View file

@ -1207,7 +1207,7 @@ public:
static F32 sFullCorrectionDistance;
static F32 sCloakSpeed; // Time to cloak, in seconds
CubeReflector mCubeReflector;
CubeReflector* mCubeReflector;
/// @name Initialization
/// @{