From 434299ec5ba7541bc5b9ee4763061e321e65fde3 Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Tue, 5 Aug 2025 13:44:15 -0400 Subject: [PATCH] Rename handleRenderOverlay to renderOverlay --- RecastDemo/Include/Sample.h | 2 +- RecastDemo/Include/Sample_SoloMesh.h | 2 +- RecastDemo/Include/Sample_TempObstacles.h | 2 +- RecastDemo/Include/Sample_TileMesh.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 +- RecastDemo/Source/main.cpp | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/RecastDemo/Include/Sample.h b/RecastDemo/Include/Sample.h index de084dea..5b7af0d1 100644 --- a/RecastDemo/Include/Sample.h +++ b/RecastDemo/Include/Sample.h @@ -171,7 +171,7 @@ public: virtual void handleToggle(); virtual void handleStep(); virtual void render(); - virtual void handleRenderOverlay(double* proj, double* model, int* view); + virtual void renderOverlay(double* proj, double* model, int* view); virtual void handleMeshChanged(InputGeom* geom); virtual bool handleBuild(); virtual void handleUpdate(float dt); diff --git a/RecastDemo/Include/Sample_SoloMesh.h b/RecastDemo/Include/Sample_SoloMesh.h index 40776b3f..bafa3eaf 100644 --- a/RecastDemo/Include/Sample_SoloMesh.h +++ b/RecastDemo/Include/Sample_SoloMesh.h @@ -75,7 +75,7 @@ public: void handleDebugMode() override; void render() override; - void handleRenderOverlay(double* proj, double* model, int* view) override; + void renderOverlay(double* proj, double* model, int* view) override; void handleMeshChanged(InputGeom* geom) override; bool handleBuild() override; diff --git a/RecastDemo/Include/Sample_TempObstacles.h b/RecastDemo/Include/Sample_TempObstacles.h index 093f8aa3..8e7b26e2 100644 --- a/RecastDemo/Include/Sample_TempObstacles.h +++ b/RecastDemo/Include/Sample_TempObstacles.h @@ -72,7 +72,7 @@ public: void handleTools() override; void handleDebugMode() override; void render() override; - void handleRenderOverlay(double* proj, double* model, int* view) override; + void renderOverlay(double* proj, double* model, int* view) override; void handleMeshChanged(InputGeom* geom) override; bool handleBuild() override; void handleUpdate(float dt) override; diff --git a/RecastDemo/Include/Sample_TileMesh.h b/RecastDemo/Include/Sample_TileMesh.h index 5586bebf..7222b83e 100644 --- a/RecastDemo/Include/Sample_TileMesh.h +++ b/RecastDemo/Include/Sample_TileMesh.h @@ -92,7 +92,7 @@ public: void handleTools() override; void handleDebugMode() override; void render() override; - void handleRenderOverlay(double* proj, double* model, int* view) override; + void renderOverlay(double* proj, double* model, int* view) override; void handleMeshChanged(InputGeom* geom) override; bool handleBuild() override; void collectSettings(BuildSettings& settings) override; diff --git a/RecastDemo/Source/Sample.cpp b/RecastDemo/Source/Sample.cpp index 3b2452cb..59d0e8cb 100644 --- a/RecastDemo/Source/Sample.cpp +++ b/RecastDemo/Source/Sample.cpp @@ -143,7 +143,7 @@ void Sample::render() duDebugDrawBoxWire(&debugDraw, min[0], min[1], min[2], max[0], max[1], max[2], duRGBA(255, 255, 255, 128), 1.0f); } -void Sample::handleRenderOverlay(double* /*proj*/, double* /*model*/, int* /*view*/) {} +void Sample::renderOverlay(double* /*proj*/, double* /*model*/, int* /*view*/) {} void Sample::handleMeshChanged(InputGeom* geom) { diff --git a/RecastDemo/Source/Sample_SoloMesh.cpp b/RecastDemo/Source/Sample_SoloMesh.cpp index 72994a57..54890d0a 100644 --- a/RecastDemo/Source/Sample_SoloMesh.cpp +++ b/RecastDemo/Source/Sample_SoloMesh.cpp @@ -329,7 +329,7 @@ void Sample_SoloMesh::render() glDepthMask(GL_TRUE); } -void Sample_SoloMesh::handleRenderOverlay(double* proj, double* model, int* view) +void Sample_SoloMesh::renderOverlay(double* proj, double* model, int* view) { if (tool) { diff --git a/RecastDemo/Source/Sample_TempObstacles.cpp b/RecastDemo/Source/Sample_TempObstacles.cpp index 75517a42..06531f61 100644 --- a/RecastDemo/Source/Sample_TempObstacles.cpp +++ b/RecastDemo/Source/Sample_TempObstacles.cpp @@ -1213,7 +1213,7 @@ void Sample_TempObstacles::renderCachedTileOverlay(const int tileX, const int ti } } -void Sample_TempObstacles::handleRenderOverlay(double* proj, double* model, int* view) +void Sample_TempObstacles::renderOverlay(double* proj, double* model, int* view) { if (tool) { diff --git a/RecastDemo/Source/Sample_TileMesh.cpp b/RecastDemo/Source/Sample_TileMesh.cpp index 8009d0cd..a379c262 100644 --- a/RecastDemo/Source/Sample_TileMesh.cpp +++ b/RecastDemo/Source/Sample_TileMesh.cpp @@ -534,7 +534,7 @@ void Sample_TileMesh::render() glDepthMask(GL_TRUE); } -void Sample_TileMesh::handleRenderOverlay(double* proj, double* model, int* view) +void Sample_TileMesh::renderOverlay(double* proj, double* model, int* view) { GLdouble x, y, z; diff --git a/RecastDemo/Source/main.cpp b/RecastDemo/Source/main.cpp index a2bee773..2947c116 100644 --- a/RecastDemo/Source/main.cpp +++ b/RecastDemo/Source/main.cpp @@ -588,7 +588,7 @@ int main(int /*argc*/, char** /*argv*/) if (app.sample) { - app.sample->handleRenderOverlay(projectionMatrix, modelviewMatrix, viewport); + app.sample->renderOverlay(projectionMatrix, modelviewMatrix, viewport); } if (app.testCase) {