From af4e86f32f3c98313464299961312ba0cbfb8a94 Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Tue, 5 Aug 2025 13:47:18 -0400 Subject: [PATCH] Rename handleStep to singleStep --- RecastDemo/Include/Sample.h | 2 +- RecastDemo/Source/Sample.cpp | 2 +- RecastDemo/Source/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RecastDemo/Include/Sample.h b/RecastDemo/Include/Sample.h index 3ebc7d97..8cef6df5 100644 --- a/RecastDemo/Include/Sample.h +++ b/RecastDemo/Include/Sample.h @@ -169,7 +169,7 @@ public: virtual void handleDebugMode(); virtual void handleClick(const float* rayStartPos, const float* rayHitPos, bool shift); virtual void handleToggle(); - virtual void handleStep(); + virtual void singleStep(); virtual void render(); virtual void renderOverlay(double* proj, double* model, int* view); virtual void onMeshChanged(InputGeom* geom); diff --git a/RecastDemo/Source/Sample.cpp b/RecastDemo/Source/Sample.cpp index 4f0ea471..a4b709f3 100644 --- a/RecastDemo/Source/Sample.cpp +++ b/RecastDemo/Source/Sample.cpp @@ -278,7 +278,7 @@ void Sample::handleToggle() } } -void Sample::handleStep() +void Sample::singleStep() { if (tool) { diff --git a/RecastDemo/Source/main.cpp b/RecastDemo/Source/main.cpp index dd1487a6..166bb776 100644 --- a/RecastDemo/Source/main.cpp +++ b/RecastDemo/Source/main.cpp @@ -310,7 +310,7 @@ int main(int /*argc*/, char** /*argv*/) case SDLK_1: if (app.sample) { - app.sample->handleStep(); + app.sample->singleStep(); } break; case SDLK_9: