diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-02-03 11:41:22 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-02-03 11:41:22 +0000 |
| commit | 4154f89b1ebff83228f51252de6b93a49fc6ed96 (patch) | |
| tree | eb19eadfaa8e3a79feb54b2c3a4995b9eec489e9 /gui/src/lineTransformer.h | |
| parent | 022563c4bdc832b1177ed12ef0bac7f85912db95 (diff) | |
warping positioning interface working
Diffstat (limited to 'gui/src/lineTransformer.h')
| -rw-r--r-- | gui/src/lineTransformer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/lineTransformer.h b/gui/src/lineTransformer.h index 54424d0..4eabf14 100644 --- a/gui/src/lineTransformer.h +++ b/gui/src/lineTransformer.h @@ -1,6 +1,7 @@ #pragma once #include "ofMain.h" +#include "colourPolyline.h" class lineTransformer { @@ -11,6 +12,7 @@ class lineTransformer { void static gaussianElimination(float * input, int n); glm::mat4 static getPerspectiveTransformMatrix(const glm::vec2 src[4], const glm::vec2 dst[4]); ofPolyline static polyLineTransform(const ofMatrix4x4 xform,const ofPolyline& poly); + colourPolyline static polyLineTransform(const ofMatrix4x4 xform,colourPolyline& poly); ofPolyline static makePolygon(int num,float diam); void static drawPoly(ofPolyline poly,float x,float y); |
