Fixed over 500 compile warnings. Mostly:
* Unused variables. * Missing newlines at ends of #included files. * signed int loop variables where the termination condition is an unsigned 'get number of' function. * 'NULL' used inappropriately for an integer or character constant (NULL is a pointer) * abstract base classes with no virtual destructor. * Floating point constants used to initialise integer variables.
This commit is contained in:
@@ -34,8 +34,8 @@ VoronoiSimplexSolver simplexSolver;
|
||||
float yaw=0.f,pitch=0.f,roll=0.f;
|
||||
const int maxNumObjects = 4;
|
||||
const int numObjects = 1;
|
||||
int screenWidth = 640.f;
|
||||
int screenHeight = 480.f;
|
||||
int screenWidth = 640;
|
||||
int screenHeight = 480;
|
||||
/// simplex contains the vertices, and some extra code to draw and debug
|
||||
GL_Simplex1to4 simplex;
|
||||
|
||||
@@ -115,4 +115,6 @@ void SimplexDemo::initPhysics()
|
||||
|
||||
SimdTransform tr;
|
||||
tr.setIdentity();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user