12345678910111213141516171819202122232425262728293031323334 |
- //
- // attractor.h
- // particleSystem
- //
-
- #include <stdio.h>
-
-
- class Attractor {
-
-
- public:
-
- Attractor();
- ~Attractor();
-
-
- float getX();
- float getY();
-
- void setX(float x);
- void setY(float y);
-
- void setup(float x, float y);
-
-
- private:
-
- //ofVec2f direction
- float x;
- float y;
-
- float force;
- };
|