rename (asset to entity)

This commit is contained in:
Nick Fisher
2024-02-15 15:16:56 +08:00
parent 935b876ce9
commit 2ae3f8c466
15 changed files with 108 additions and 41 deletions

View File

@@ -639,7 +639,7 @@ namespace polyvox
FilamentViewer::~FilamentViewer()
{
clearAssets();
clearEntities();
delete _assetManager;
for (auto it : _lights)
@@ -725,7 +725,7 @@ namespace polyvox
_engine->flushAndWait();
}
void FilamentViewer::clearAssets()
void FilamentViewer::clearEntities()
{
Log("Clearing all assets");
if (_mainCamera)
@@ -738,7 +738,7 @@ namespace polyvox
Log("Cleared all assets");
}
void FilamentViewer::removeAsset(EntityId asset)
void FilamentViewer::removeEntity(EntityId asset)
{
Log("Removing asset from scene");