Advertisement
xeromino

noise2

Jun 14th, 2016
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.80 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "ofMain.h"
  4.  
  5. class Particle {
  6. public:
  7.     ofPoint pos;
  8.     ofPoint prevPos;
  9. };
  10.  
  11. class ofApp : public ofBaseApp{
  12.  
  13.     public:
  14.         void setup();
  15.         void update();
  16.         void draw();
  17.  
  18.         void keyPressed(int key);
  19.         void keyReleased(int key);
  20.         void mouseMoved(int x, int y );
  21.         void mouseDragged(int x, int y, int button);
  22.         void mousePressed(int x, int y, int button);
  23.         void mouseReleased(int x, int y, int button);
  24.         void mouseEntered(int x, int y);
  25.         void mouseExited(int x, int y);
  26.         void windowResized(int w, int h);
  27.         void dragEvent(ofDragInfo dragInfo);
  28.         void gotMessage(ofMessage msg);
  29.    
  30.         float fieldIntensity, noiseScale;
  31.         int agentCount;
  32.         vector <Particle> locations;
  33.         float stepSize;
  34.         ofImage img;
  35.         float edge;
  36.        
  37. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement