Projektordner für das Team Deutsches Museum (FORUM).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rainParticleSystem.h 772B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef rainParticleSystem_h
  2. #define rainParticleSystem_h
  3. #pragma once
  4. #include "ofMain.h"
  5. #include "ofxCv.h"
  6. #include "ofxOpenCv.h"
  7. #include "particle.h"
  8. #include "drawableImage.h"
  9. #include <stdio.h>
  10. class RainParticleSystem
  11. {
  12. public:
  13. RainParticleSystem(float startSceneX, float sceneSizeX, float sceneSizeY);
  14. ~RainParticleSystem();
  15. vector<ofVec2f>attractors;
  16. vector<Particle*> particles;
  17. int startSceneX;
  18. int sceneSizeX;
  19. int sceneSizeY;
  20. int maxParticle;
  21. int picPix;
  22. int k;
  23. int status;
  24. bool tornadoStarted;
  25. bool editingWarp;
  26. float birthCnt;
  27. float maxLife;
  28. float parAmount;
  29. float height;
  30. double time;
  31. double tornadoStartTime;
  32. void updateParticleSystem();
  33. void createParticlesForRain();
  34. void drawRainParticleSystem();
  35. private:
  36. };
  37. #endif