summaryrefslogtreecommitdiff
path: root/polyTest/src/ofApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyTest/src/ofApp.h')
-rw-r--r--polyTest/src/ofApp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/polyTest/src/ofApp.h b/polyTest/src/ofApp.h
index 4066c30..121d25f 100644
--- a/polyTest/src/ofApp.h
+++ b/polyTest/src/ofApp.h
@@ -28,6 +28,15 @@ class ofApp : public ofBaseApp{
void dragEvent(ofDragInfo dragInfo);
void gotMessage(ofMessage msg);
+ void drawframe();
+ void gaussianElimination(float * input, int n);
+ glm::mat4 getPerspectiveTransformMatrix(const glm::vec2 src[4], const glm::vec2 dst[4]);
ofPolyline polyLineTransform(const ofPolyline& poly, ofMatrix4x4 xform);
+ ofPolyline makePolygon(int num,float diam);
+ void drawPoly(ofPolyline poly,float x,float y);
+ glm::vec2 warpframe[4];
+ int select_warpframe;
+
+ bool bDrawFrame;
};