@@ -17,7 +17,7 @@ GLESDebugDraw::GLESDebugDraw( float32 ratio )
1717}
1818
1919
20- void GLESDebugDraw::DrawPolygon (const b2Vec2* old_vertices, int32 vertexCount, const b2Color& color)
20+ void GLESDebugDraw::DrawPolygon (const b2Vec2* old_vertices, int vertexCount, const b2Color& color)
2121{
2222 b2Vec2* vertices = new b2Vec2[vertexCount];
2323 for ( int i=0 ;i<vertexCount;i++)
@@ -33,7 +33,7 @@ void GLESDebugDraw::DrawPolygon(const b2Vec2* old_vertices, int32 vertexCount, c
3333 delete[] vertices;
3434}
3535
36- void GLESDebugDraw::DrawSolidPolygon (const b2Vec2* old_vertices, int32 vertexCount, const b2Color& color)
36+ void GLESDebugDraw::DrawSolidPolygon (const b2Vec2* old_vertices, int vertexCount, const b2Color& color)
3737{
3838 b2Vec2* vertices = new b2Vec2[vertexCount];
3939 for ( int i=0 ;i<vertexCount;i++) {
@@ -61,7 +61,7 @@ void GLESDebugDraw::DrawCircle(const b2Vec2& center, float32 radius, const b2Col
6161 float32 theta = 0 .0f ;
6262
6363 GLfloat* glVertices = new GLfloat[vertexCount*2 ];
64- for (int32 i = 0 ; i < k_segments; ++i)
64+ for (int i = 0 ; i < k_segments; ++i)
6565 {
6666 b2Vec2 v = center + radius * b2Vec2 (cosf (theta), sinf (theta));
6767 glVertices[i*2 ]=v.x * mRatio ;
@@ -86,7 +86,7 @@ void GLESDebugDraw::DrawSolidCircle(const b2Vec2& center, float32 radius, const
8686 float32 theta = 0 .0f ;
8787
8888 GLfloat* glVertices = new GLfloat[vertexCount*2 ];
89- for (int32 i = 0 ; i < k_segments; ++i)
89+ for (int i = 0 ; i < k_segments; ++i)
9090 {
9191 b2Vec2 v = center + radius * b2Vec2 (cosf (theta), sinf (theta));
9292 glVertices[i*2 ]=v.x * mRatio ;
0 commit comments