Added Comments

Added ability to hold shift and skip the terrain generation when loading
Added ability for the perlin terrain to save a raw image of the terrain to use as a cache
This commit is contained in:
iDunnoDev
2022-06-13 16:41:25 +01:00
committed by iDunnoDev
parent 51afdeecbd
commit 616f68bf8b
40 changed files with 468 additions and 51 deletions

View File

@ -13,6 +13,7 @@ bool SplitMeshNode::Initialise()
}
else
{
// Loop the meshes sub meshes to generate the scene graph tree
Add(AddMeshNode(_mesh->GetRootNode()));
}
@ -40,6 +41,7 @@ void SplitMeshNode::Render(void)
void SplitMeshNode::Shutdown(void)
{
// Release the mesh from the resource manager
_resourceManager->ReleaseMesh(_modelName);
SceneGraph::Shutdown();
}