From 4154f89b1ebff83228f51252de6b93a49fc6ed96 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sat, 3 Feb 2018 11:41:22 +0000 Subject: warping positioning interface working --- gui/src/lineTransformer.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gui/src/lineTransformer.cpp') diff --git a/gui/src/lineTransformer.cpp b/gui/src/lineTransformer.cpp index a21d020..080eb9d 100644 --- a/gui/src/lineTransformer.cpp +++ b/gui/src/lineTransformer.cpp @@ -1,5 +1,6 @@ #include "lineTransformer.h" + void lineTransformer::drawWarpFrame(glm::vec2 warpframe[4]){ ofSetColor(255,255,255); ofNoFill(); @@ -97,6 +98,15 @@ ofPolyline lineTransformer::polyLineTransform(const ofMatrix4x4 xform, const ofP return tempPoly; } +colourPolyline lineTransformer::polyLineTransform(const ofMatrix4x4 xform,colourPolyline& poly){ + colourPolyline tempPoly; + for (int i=0;i