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.
30 lines
501 B
30 lines
501 B
#ifndef H_OF_APP
|
|
#define H_OF_APP
|
|
|
|
#include "ofMain.h"
|
|
#include "ofxPiMapper.h"
|
|
|
|
class ofApp : public ofBaseApp
|
|
{
|
|
public:
|
|
void setup();
|
|
void update();
|
|
void draw();
|
|
void exit();
|
|
|
|
void keyPressed(int key);
|
|
|
|
void addRandomSurface();
|
|
void addSurface();
|
|
void setFboAsTexture();
|
|
|
|
ofImage image;
|
|
ofxSurfaceManager surfaceManager;
|
|
ofxSurfaceManagerGui gui;
|
|
bool bShowInfo;
|
|
ofFbo* fbo;
|
|
vector<ofRectangle> rects;
|
|
vector<float> rectSpeeds;
|
|
};
|
|
|
|
#endif
|