Rename update

This commit is contained in:
Joshua Coles 2023-02-20 19:53:53 +00:00
parent 39231f0d92
commit 345da9aa86
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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;

View File

@ -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;