From f529408d8d40f95f18b0f368cf3d17d6ff168d0b Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Sun, 24 Aug 2025 15:19:26 -0400 Subject: [PATCH] Removed more unused matrix parameters --- RecastDemo/Include/Sample.h | 2 +- RecastDemo/Source/Sample.cpp | 2 +- RecastDemo/Source/Sample_SoloMesh.cpp | 2 +- RecastDemo/Source/Sample_TempObstacles.cpp | 2 +- RecastDemo/Source/Sample_TileMesh.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RecastDemo/Include/Sample.h b/RecastDemo/Include/Sample.h index f693fd96..1ba13f8f 100644 --- a/RecastDemo/Include/Sample.h +++ b/RecastDemo/Include/Sample.h @@ -177,7 +177,7 @@ public: void initToolStates(Sample* sample) const; void resetToolStates() const; void renderToolStates() const; - void renderOverlayToolStates(double* proj, double* model, int* view) const; + void renderOverlayToolStates() const; void resetCommonSettings(); void drawCommonSettingsUI(); diff --git a/RecastDemo/Source/Sample.cpp b/RecastDemo/Source/Sample.cpp index fc208a7c..cdd462ab 100644 --- a/RecastDemo/Source/Sample.cpp +++ b/RecastDemo/Source/Sample.cpp @@ -363,7 +363,7 @@ void Sample::renderToolStates() const } } -void Sample::renderOverlayToolStates(double* proj, double* model, int* view) const +void Sample::renderOverlayToolStates() const { for (int i = 0; i < static_cast(SampleToolType::MAX_TOOLS); i++) { diff --git a/RecastDemo/Source/Sample_SoloMesh.cpp b/RecastDemo/Source/Sample_SoloMesh.cpp index ee622940..c1e9b3af 100644 --- a/RecastDemo/Source/Sample_SoloMesh.cpp +++ b/RecastDemo/Source/Sample_SoloMesh.cpp @@ -333,7 +333,7 @@ void Sample_SoloMesh::renderOverlay(double* proj, double* model, int* view) { tool->drawOverlayUI(); } - renderOverlayToolStates(proj, model, view); + renderOverlayToolStates(); } void Sample_SoloMesh::onMeshChanged(InputGeom* geom) diff --git a/RecastDemo/Source/Sample_TempObstacles.cpp b/RecastDemo/Source/Sample_TempObstacles.cpp index 64d26e4d..2ebf0f45 100644 --- a/RecastDemo/Source/Sample_TempObstacles.cpp +++ b/RecastDemo/Source/Sample_TempObstacles.cpp @@ -1186,7 +1186,7 @@ void Sample_TempObstacles::renderOverlay(double* proj, double* model, int* view) { tool->drawOverlayUI(); } - renderOverlayToolStates(proj, model, view); + renderOverlayToolStates(); // Stats /* imguiDrawRect(280,10,300,100,imguiRGBA(0,0,0,64)); diff --git a/RecastDemo/Source/Sample_TileMesh.cpp b/RecastDemo/Source/Sample_TileMesh.cpp index 684b3b88..4a0c263a 100644 --- a/RecastDemo/Source/Sample_TileMesh.cpp +++ b/RecastDemo/Source/Sample_TileMesh.cpp @@ -551,7 +551,7 @@ void Sample_TileMesh::renderOverlay(double* proj, double* model, int* view) { tool->drawOverlayUI(); } - renderOverlayToolStates(proj, model, view); + renderOverlayToolStates(); } void Sample_TileMesh::onMeshChanged(InputGeom* geom)