Refactoring WIP.

Changing the function naming convention from CamelCase to camelCase.

--HG--
branch : dev
This commit is contained in:
Martín Lucas Golini
2017-02-14 18:09:25 -03:00
parent 8eaff147d4
commit b36dd33246
204 changed files with 2299 additions and 2244 deletions

View File

@@ -197,7 +197,7 @@ void MainLoop()
/// Stop the simulation if the window is not visible
while ( !win->Visible() ) {
imp->Update(); /// To get the real state of the window you need to update the window input
Sys::Sleep( 100 ); /// Sleep 100 ms
Sys::sleep( 100 ); /// Sleep 100 ms
}
win->Display();
@@ -241,7 +241,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
/// Since fixed-pipeline OpenGL use gl_FrontColor for glColorPointer, we need to replace the color attribute
/// This is all to show how it works, in a real world scenario, you will choose to work fixed-pipeline or programmable-pipeline.
if ( GLi->Version() == GLv_2 ) {
String::ReplaceAll( fs, "gl_FragColor = dgl_Color", "gl_FragColor = gl_FrontColor" );
String::replaceAll( fs, "gl_FragColor = dgl_Color", "gl_FragColor = gl_FrontColor" );
}
/// Create the new shader program
@@ -279,9 +279,9 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
eeSAFE_DELETE_ARRAY( colors );
}
Engine::DestroySingleton();
Engine::destroySingleton();
MemoryManager::ShowResults();
MemoryManager::showResults();
return EXIT_SUCCESS;
}