From 52883ccbbb4bfecedbf07d64882f4f2bb7736568 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Tue, 29 Apr 2014 16:00:45 +0200 Subject: [PATCH] Add ofxTriangleSurface placeholder --- example/src/ofApp.h | 2 ++ src/ofxPiMapper.cpp | 11 ----------- src/ofxPiMapper.h | 9 +-------- src/ofxTriangleSurface.cpp | 11 +++++++++++ src/ofxTriangleSurface.h | 13 +++++++++++++ 5 files changed, 27 insertions(+), 19 deletions(-) delete mode 100644 src/ofxPiMapper.cpp create mode 100644 src/ofxTriangleSurface.cpp create mode 100644 src/ofxTriangleSurface.h 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