From 5067c9281426d7131bd435a57936f261f95a71bc Mon Sep 17 00:00:00 2001 From: Katharina Ott Date: Thu, 13 Jun 2019 18:00:56 +0200 Subject: [PATCH] commented rain out of code --- src/main.cpp | 2 +- src/particle.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);