summaryrefslogtreecommitdiff
path: root/passadesgui/src/lineSegmenter.h
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2022-09-30 23:24:23 +0100
committerTim Redfern <tim@getdrop.com>2022-09-30 23:24:23 +0100
commitaca6161b1c8ee632e388731084b6158a1483e71a (patch)
treed8e039d7d664bfadf836fb45806e8c408288722c /passadesgui/src/lineSegmenter.h
parenta2c919f85c366e02cdc71f0fb46f4ebd4e4afebe (diff)
head wreck
Diffstat (limited to 'passadesgui/src/lineSegmenter.h')
-rw-r--r--passadesgui/src/lineSegmenter.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/passadesgui/src/lineSegmenter.h b/passadesgui/src/lineSegmenter.h
index 2467c6a..6aa7bc7 100644
--- a/passadesgui/src/lineSegmenter.h
+++ b/passadesgui/src/lineSegmenter.h
@@ -26,15 +26,17 @@ class colourLineSegmenter{
public:
colourLineSegmenter(colourPolyline &_line){
line=_line;
+ //this was commented out
//if (line.isClosed()){
// line.addVertex(line[0]);
//}
}
colourLineSegmenter(ofPolyline &_line,const ofColor color=ofColor(255,255,255)){
line=colourPolyline(_line,color);
- if (_line.isClosed()){
- line.addVertex(line[0],line.getColourAt(0));
- }
+ //if (_line.isClosed()){
+ // line.addVertex(line[0],line.getColourAt(0));
+ //}
+ //commenting this out does not help weird issie when segmenting
}
const vector <colourPolyline> &getSegments(int num,float coverage, float phase);
colourPolyline getPoly(){