mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
make reflectors optional
don't waste memory per object-instance on non reflective objects
This commit is contained in:
parent
2dae0fbbad
commit
01b10cfb89
4 changed files with 56 additions and 23 deletions
|
|
@ -1207,7 +1207,7 @@ public:
|
|||
static F32 sFullCorrectionDistance;
|
||||
static F32 sCloakSpeed; // Time to cloak, in seconds
|
||||
|
||||
CubeReflector mCubeReflector;
|
||||
CubeReflector* mCubeReflector;
|
||||
|
||||
/// @name Initialization
|
||||
/// @{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue