summaryrefslogtreecommitdiff
path: root/gui/src/lineTransformer.cpp
diff options
context:
space:
mode:
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);