Commit 3c576792 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Get rid of compiler warnings

parent 6093fa8a
...@@ -197,8 +197,8 @@ struct b2SeparationFunction ...@@ -197,8 +197,8 @@ struct b2SeparationFunction
{ {
case e_points: case e_points:
{ {
b2Vec2 axisA = b2MulT(xfA.R, m_axis); //b2Vec2 axisA = b2MulT(xfA.R, m_axis);
b2Vec2 axisB = b2MulT(xfB.R, -m_axis); //b2Vec2 axisB = b2MulT(xfB.R, -m_axis);
b2Vec2 localPointA = m_proxyA->GetVertex(indexA); b2Vec2 localPointA = m_proxyA->GetVertex(indexA);
b2Vec2 localPointB = m_proxyB->GetVertex(indexB); b2Vec2 localPointB = m_proxyB->GetVertex(indexB);
......
...@@ -1028,6 +1028,8 @@ void b2World::DrawShape(b2Fixture* fixture, const b2Transform& xf, const b2Color ...@@ -1028,6 +1028,8 @@ void b2World::DrawShape(b2Fixture* fixture, const b2Transform& xf, const b2Color
m_debugDraw->DrawSolidPolygon(vertices, vertexCount, color); m_debugDraw->DrawSolidPolygon(vertices, vertexCount, color);
} }
break; break;
default:
break;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment