@ -34,6 +34,8 @@ class BaseSurface {
virtual vector <ofVec3f> & getVertices() = 0;
virtual vector <ofVec2f> & getTexCoords() = 0;
virtual ofRectangle & getBoundingBox() = 0;
virtual BaseSurface * clone() = 0;
void drawTexture(ofVec2f position);
@ -36,6 +36,8 @@ class GridWarpSurface : public BaseSurface {
vector <ofVec3f> & getVertices();
vector <ofVec2f> & getTexCoords();
ofRectangle & getBoundingBox(){}
void createGridMesh();
BaseSurface * clone();
@ -38,6 +38,8 @@ class QuadSurface : public BaseSurface {
void setPerspectiveWarping(bool b);
bool getPerspectiveWarping();
@ -135,6 +135,8 @@ void TriangleSurface::moveBy(ofVec2f v){
void TriangleSurface::scaleTo(float scale){
cout << "TriangleSurface::scaleTo()" << endl;
}
int TriangleSurface::getType(){
@ -36,6 +36,8 @@ class TriangleSurface : public BaseSurface {
};