summaryrefslogtreecommitdiff
path: root/gui/src/lineTransformer.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-02-03 02:01:09 +0000
committerTim Redfern <tim@getdrop.com>2018-02-03 02:01:09 +0000
commitf19740af946bd1faa6d364995b72b8a32e2315e3 (patch)
treefce87902192f5d6861e68c65116e52a031401525 /gui/src/lineTransformer.cpp
parent645e8c6007bdacaf2f37019d871ce9d3281a280d (diff)
many changes
Diffstat (limited to 'gui/src/lineTransformer.cpp')
-rw-r--r--gui/src/lineTransformer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/lineTransformer.cpp b/gui/src/lineTransformer.cpp
index bf237d7..a21d020 100644
--- a/gui/src/lineTransformer.cpp
+++ b/gui/src/lineTransformer.cpp
@@ -89,7 +89,7 @@ glm::mat4 lineTransformer::getPerspectiveTransformMatrix(const glm::vec2 src[4],
p[2][8], p[5][8], 0, 1);
}
-ofPolyline lineTransformer::polyLineTransform(const ofPolyline& poly, ofMatrix4x4 xform){
+ofPolyline lineTransformer::polyLineTransform(const ofMatrix4x4 xform, const ofPolyline& poly){
ofPolyline tempPoly;
for (auto& p:poly){
tempPoly.addVertex(ofVec3f(p)*xform);