Code Cleanups

- add initializers to classes
- fix %i/%u for unsigned ints
- remove unused vars
- pass by reference
This commit is contained in:
Andy Maloney
2015-05-24 11:48:15 -04:00
parent 8e24695f29
commit 4cbce374b6
11 changed files with 28 additions and 22 deletions

View File

@@ -158,7 +158,7 @@ bool FixInfacingNormalsProcess::ProcessMesh( aiMesh* pcMesh, unsigned int index)
if (!DefaultLogger::isNullLogger())
{
char buffer[128]; // should be sufficiently large
::sprintf(buffer,"Mesh %i: Normals are facing inwards (or the mesh is planar)",index);
::sprintf(buffer,"Mesh %u: Normals are facing inwards (or the mesh is planar)",index);
DefaultLogger::get()->info(buffer);
}