Browse Source

commented rain out of code

windows
Katharina Ott 5 years ago
parent
commit
5067c92814
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/main.cpp
  2. 1
    1
      src/particle.cpp

+ 1
- 1
src/main.cpp View File

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



+ 1
- 1
src/particle.cpp View File

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

Loading…
Cancel
Save