More work for large worlds

This commit is contained in:
Wojtek Figat
2022-06-29 23:28:03 +02:00
parent 2cd244fbd3
commit 7ebdce5e42
11 changed files with 58 additions and 56 deletions

View File

@@ -17,7 +17,6 @@ API_CLASS() class FLAXENGINE_API Decal : public Actor
private:
Vector3 _size;
OrientedBoundingBox _bounds;
Matrix _world;
int32 _sceneRenderingKey = -1;
public:
@@ -61,15 +60,6 @@ public:
/// <returns>The created virtual material instance.</returns>
API_FUNCTION() MaterialInstance* CreateAndSetVirtualMaterialInstance();
/// <summary>
/// Gets the decal world matrix used to transform the 1x1x1 cube from the mesh space to world space.
/// </summary>
/// <param name="result">The result value container.</param>
FORCE_INLINE void GetWorld(Matrix* result) const
{
*result = _world;
}
public:
// [Actor]
#if USE_EDITOR