Patch Update - V8.1.1
+ Define the struct of the scene save file
This commit is contained in:
@@ -150,7 +150,7 @@ void SystemClass::Run()
|
||||
|
||||
|
||||
// Ask For the scene file
|
||||
SetScenePath();
|
||||
GetScenePath();
|
||||
|
||||
m_Application->LoadScene();
|
||||
|
||||
|
@@ -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
|
||||
|
||||
}
|
Reference in New Issue
Block a user