rename contact areas to contact polygons

This commit is contained in:
Irlan
2018-04-07 01:28:48 -03:00
parent 5401e8aba2
commit 54202454ea
6 changed files with 7 additions and 7 deletions

View File

@ -405,7 +405,7 @@ static void Interface()
ImGui::Checkbox("Contact Points", &g_settings.drawContactPoints);
ImGui::Checkbox("Contact Normals", &g_settings.drawContactNormals);
ImGui::Checkbox("Contact Tangents", &g_settings.drawContactTangents);
ImGui::Checkbox("Contact Areas", &g_settings.drawContactAreas);
ImGui::Checkbox("Contact Polygons", &g_settings.drawContactPolygons);
ImGui::Checkbox("Statistics", &g_settings.drawStats);
ImGui::Checkbox("Profile", &g_settings.drawProfile);

View File

@ -136,7 +136,7 @@ void Test::Step()
drawFlags += g_settings.drawContactPoints * b3Draw::e_contactPointsFlag;
drawFlags += g_settings.drawContactNormals * b3Draw::e_contactNormalsFlag;
drawFlags += g_settings.drawContactTangents * b3Draw::e_contactTangentsFlag;
drawFlags += g_settings.drawContactAreas * b3Draw::e_contactAreasFlag;
drawFlags += g_settings.drawContactPolygons * b3Draw::e_contactPolygonsFlag;
g_debugDraw->SetFlags(drawFlags);
m_world.DebugDraw();

View File

@ -53,7 +53,7 @@ struct Settings
drawContactPoints = true;
drawContactNormals = false;
drawContactTangents = false;
drawContactAreas = false;
drawContactPolygons = false;
drawStats = false;
drawProfile = false;
drawGrid = true;
@ -84,7 +84,7 @@ struct Settings
bool drawContactPoints;
bool drawContactNormals;
bool drawContactTangents;
bool drawContactAreas;
bool drawContactPolygons;
bool drawStats;
bool drawProfile;
bool drawGrid;