diff --git a/src/main.cpp b/src/main.cpp index 2d6db0d..affb9c1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,11 +5,11 @@ //======================================================================== int main( ){ - ofSetupOpenGL(1000,1000, OF_WINDOW); // <-------- setup the GL context ofGLFWWindowSettings settings; settings.setGLVersion(3, 2); settings.setSize(1280, 800); ofCreateWindow(settings); + ofSetupOpenGL(1000, 1000, OF_WINDOW); // <-------- setup the GL context ofRunApp(new ofApp()); diff --git a/src/particle.cpp b/src/particle.cpp index 5582923..0b7e980 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -61,7 +61,7 @@ void Particle::updateParticle(double deltaT, ofVec2f attractor, bool cloudAttrac //Movement of particle in the different settings - doMovementOfParticlesAtRain(tornadoIsFinished, deltaT, sceneSizeX); + //doMovementOfParticlesAtRain(tornadoIsFinished, deltaT, sceneSizeX); if (cloudAttractorIsSet == true) { doMovementOfParticlesAtRocketEffect(sceneSizeY, imageHeight, imageWidth, sceneSizeX, attractor, deltaT);