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