Patch Update - V8.1.1

+ Define the struct of the scene save file
This commit is contained in:
2025-03-17 17:49:16 +01:00
parent 7eb6ed72e6
commit 6583f74a5f
4 changed files with 27 additions and 57 deletions

View File

@@ -150,7 +150,7 @@ void SystemClass::Run()
// Ask For the scene file
SetScenePath();
GetScenePath();
m_Application->LoadScene();

View File

@@ -2253,5 +2253,10 @@ void ApplicationClass::SaveScene()
void ApplicationClass::LoadScene()
{
// Read the file and load the scene
// File is in a custom format
// every object is defined by a line with the following format:
// m_id,m_scaleMatrix,m_rotateMatrix,m_translateMatrix,m_srMatrix,
// m_worldMatrix,m_mass,m_isPhysicsEnabled,m_name,m_type,m_activeShader,
// m_boundingRadius,m_texture[n],m_demoSpinning
}