From 345da9aa86244c7e01963c92678780f80733aa96 Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Mon, 20 Feb 2023 19:53:53 +0000 Subject: [PATCH] Rename update --- DLASystem.cpp | 2 +- DLASystem.h | 2 +- mainDLA.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DLASystem.cpp b/DLASystem.cpp index b650aa5..ebdbf09 100644 --- a/DLASystem.cpp +++ b/DLASystem.cpp @@ -10,7 +10,7 @@ using std::endl; // this function gets called every step, // if there is an active particle then it gets moved, // if not then add a particle -void DLASystem::Update() { +void DLASystem::update() { this->frame++; if (lastParticleIsActive == 1) { diff --git a/DLASystem.h b/DLASystem.h index a1ad58e..4086c54 100644 --- a/DLASystem.h +++ b/DLASystem.h @@ -66,7 +66,7 @@ public: // update the system: if there is an active particle then move it, // else create a new particle (on the adding circle) - void Update(); + void update(); // is the simulation running (1) or paused (0) ? bool running; diff --git a/mainDLA.cpp b/mainDLA.cpp index 487b433..f441e7a 100644 --- a/mainDLA.cpp +++ b/mainDLA.cpp @@ -51,7 +51,7 @@ int main(int argc, char **argv) { * NOTE: We run at max speed as rendering is handled by a different engine so we don't need to care. * */ while (sys->running) { - sys->Update(); + sys->update(); } return 0;