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:
@@ -50,8 +50,8 @@ const int numObjects = 2;
|
||||
PolyhedralConvexShape* shapePtr[maxNumObjects];
|
||||
|
||||
SimdTransform tr[numObjects];
|
||||
int screenWidth = 640.f;
|
||||
int screenHeight = 480.f;
|
||||
int screenWidth = 640;
|
||||
int screenHeight = 480;
|
||||
void DrawRasterizerLine(float const* , float const*, int)
|
||||
{
|
||||
|
||||
|
||||
@@ -33,4 +33,5 @@ class LinearConvexCastDemo : public DemoApplication
|
||||
}
|
||||
};
|
||||
|
||||
#endif //LINEAR_CONVEX_CAST_DEMO_H
|
||||
#endif //LINEAR_CONVEX_CAST_DEMO_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user