Removed more unused matrix parameters

This commit is contained in:
Graham Pentheny
2025-08-24 15:23:21 -04:00
parent e6c33c3a0f
commit dc9bdbe5a1
5 changed files with 6 additions and 6 deletions

View File

@@ -65,5 +65,5 @@ public:
void doTests(class dtNavMesh* navmesh, class dtNavMeshQuery* navquery);
void render();
bool renderOverlay(double* proj, double* model, int* view);
bool renderOverlay();
};

View File

@@ -391,7 +391,7 @@ void TestCase::render()
glLineWidth(1.0f);
}
bool TestCase::renderOverlay(double* proj, double* model, int* view)
bool TestCase::renderOverlay()
{
char text[64];
int n = 0;
@@ -428,7 +428,7 @@ bool TestCase::renderOverlay(double* proj, double* model, int* view)
n++;
}
ImGui::SetNextWindowPos(ImVec2(10, static_cast<float>(view[3]) - 10 - 350), ImGuiCond_Always); // Position in screen space
ImGui::SetNextWindowPos(ImVec2(10, static_cast<float>(app.viewport[3]) - 10 - 350), ImGuiCond_Always); // Position in screen space
ImGui::SetNextWindowSize(ImVec2(200, 350), ImGuiCond_Always); // Size of the window
ImGui::Begin("Test Results");

View File

@@ -293,7 +293,7 @@ void ConvexVolumeTool::render()
dd.end();
}
void ConvexVolumeTool::drawOverlayUI(double* /*proj*/, double* /*model*/, int* /*view*/)
void ConvexVolumeTool::drawOverlayUI()
{
// Tool help
if (!numPoints)

View File

@@ -281,7 +281,7 @@ void NavMeshPruneTool::render()
}
}
void NavMeshPruneTool::drawOverlayUI(double* /*proj*/, double* /*model*/, int* /*view*/)
void NavMeshPruneTool::drawOverlayUI()
{
DrawScreenspaceText(280.0f, 40.0f, IM_COL32(255, 255, 255, 192), "LMB: Click fill area.");
}

View File

@@ -425,7 +425,7 @@ int main(int /*argc*/, char** /*argv*/)
}
if (app.testCase)
{
app.testCase->renderOverlay(app.projectionMatrix, modelviewMatrix, app.viewport);
app.testCase->renderOverlay();
}
bool newMeshSelected = false;