From 247746be589deeeb6d870d9e744580ee758f4e5b Mon Sep 17 00:00:00 2001 From: Danial Eshete Date: Thu, 23 May 2019 15:52:23 +0200 Subject: [PATCH] changed from thParticle to Particle because there's no thParticle class --- src/ofApp.cpp | 2 +- src/ofApp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ofApp.cpp b/src/ofApp.cpp index 218b3c2..ce8f322 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -60,7 +60,7 @@ void ofApp::update() { //Birth control for new particles if (birthCount > 0.001) { for (int i = 0;i < 4;i++) { - system.push_back(new thParticle); + system.push_back(new Particle); system.back()->setup(ofVec2f(ofGetWidth()*.5, ofGetHeight()*.5)); } birthCount = 0; diff --git a/src/ofApp.h b/src/ofApp.h index 8997ec3..76e96dd 100644 --- a/src/ofApp.h +++ b/src/ofApp.h @@ -36,7 +36,7 @@ private: float xOfCentroid; float yOfCentroid; - vector system; + vector system; vector attractors; float birthCount; double time;