diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-01-30 21:13:32 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-01-30 21:13:32 +0000 |
| commit | d5286b2a84704e6b1a9c845cda1bf44679158a5f (patch) | |
| tree | cf69a54f64b89013c3f2542bd4a189da2aaa2929 /polyTest/src/ofApp.h | |
| parent | b1744ad133b8543a3072897602ee33f6781655da (diff) | |
vector warp good
Diffstat (limited to 'polyTest/src/ofApp.h')
| -rw-r--r-- | polyTest/src/ofApp.h | 9 |
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; }; |
