From 583804a9b5c412849c9dc5e9947dd537aee3bb8b Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 22 May 2018 00:22:05 +0100 Subject: translation of vectors --- gistanalysis/src/ofApp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gistanalysis/src/ofApp.cpp') diff --git a/gistanalysis/src/ofApp.cpp b/gistanalysis/src/ofApp.cpp index b6a0a1c..50a4be6 100644 --- a/gistanalysis/src/ofApp.cpp +++ b/gistanalysis/src/ofApp.cpp @@ -261,8 +261,10 @@ void ofApp::draw(){ } */ + ofMatrix4x4 xform; + xform.makeTranslationMatrix(1,5,0); - auto lines=plotter.output(); + auto lines=plotter.output(xform); laser.draw(lines,50); ofTranslate(0,ofGetHeight()/2); -- cgit v1.2.3