Rename update
This commit is contained in:
parent
39231f0d92
commit
345da9aa86
@ -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) {
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user