diff --git a/example/src/ofApp.h b/example/src/ofApp.h index 4d6cec9..10a9a84 100644 --- a/example/src/ofApp.h +++ b/example/src/ofApp.h @@ -15,6 +15,8 @@ public: void mousePressed(int x, int y, int button); void mouseReleased(int x, int y, int button); void mouseDragged(int x, int y, int button); + + ofxTriangleSurface triangleSurface; }; #endif \ No newline at end of file diff --git a/src/ofxPiMapper.cpp b/src/ofxPiMapper.cpp deleted file mode 100644 index 5657e45..0000000 --- a/src/ofxPiMapper.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "ofxPiMapper.h" - -ofxPiMapper::ofxPiMapper() -{ - -} - -ofxPiMapper::~ofxPiMapper() -{ - -} \ No newline at end of file diff --git a/src/ofxPiMapper.h b/src/ofxPiMapper.h index 4b61c05..e824ae0 100644 --- a/src/ofxPiMapper.h +++ b/src/ofxPiMapper.h @@ -1,13 +1,6 @@ #ifndef H_OFX_PI_MAPPER #define H_OFX_PI_MAPPER -#include "ofMain.h" - -class ofxPiMapper -{ -public: - ofxPiMapper(); - ~ofxPiMapper(); -}; +#include "ofxTriangleSurface.h" #endif \ No newline at end of file diff --git a/src/ofxTriangleSurface.cpp b/src/ofxTriangleSurface.cpp new file mode 100644 index 0000000..64f7eb4 --- /dev/null +++ b/src/ofxTriangleSurface.cpp @@ -0,0 +1,11 @@ +#include "ofxTriangleSurface.h" + +ofxTriangleSurface::ofxTriangleSurface() +{ + cout << "ofxTriangleSurface constructor." << endl; +} + +ofxTriangleSurface::~ofxTriangleSurface() +{ + cout << "ofxTriangleSurface destructor." << endl; +} \ No newline at end of file diff --git a/src/ofxTriangleSurface.h b/src/ofxTriangleSurface.h new file mode 100644 index 0000000..19a516e --- /dev/null +++ b/src/ofxTriangleSurface.h @@ -0,0 +1,13 @@ +#ifndef H_OFX_TRIANGLE_SURFACE +#define H_OFX_TRIANGLE_SURFACE + +#include "ofMain.h" + +class ofxTriangleSurface +{ +public: + ofxTriangleSurface(); + ~ofxTriangleSurface(); +}; + +#endif \ No newline at end of file