Update mesh config defines to match a single format

This commit is contained in:
Wojtek Figat
2024-12-29 23:03:09 +01:00
parent e7132086a5
commit ab99a25cee
7 changed files with 35 additions and 21 deletions

View File

@@ -11,7 +11,7 @@
#include "Engine/Level/Types.h"
#include "Engine/Scripting/ScriptingObject.h"
#include "Config.h"
#if USE_PRECISE_MESH_INTERSECTS
#if MODEL_USE_PRECISE_MESH_INTERSECTS
#include "CollisionProxy.h"
#endif
@@ -54,7 +54,7 @@ protected:
mutable Array<byte> _cachedIndexBuffer;
mutable int32 _cachedIndexBufferCount = 0;
#if USE_PRECISE_MESH_INTERSECTS
#if MODEL_USE_PRECISE_MESH_INTERSECTS
CollisionProxy _collisionProxy;
#endif
@@ -137,7 +137,7 @@ public:
return _use16BitIndexBuffer;
}
#if USE_PRECISE_MESH_INTERSECTS
#if MODEL_USE_PRECISE_MESH_INTERSECTS
/// <summary>
/// Gets the collision proxy used by the mesh.
/// </summary>