diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-05-22 00:22:05 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-05-22 00:22:05 +0100 |
| commit | 583804a9b5c412849c9dc5e9947dd537aee3bb8b (patch) | |
| tree | 04a8eba31895e07c97c24d8dd0aa90f58e04a99b | |
| parent | 459d1daf71dd8991c60dc8c84d1154802eec331b (diff) | |
translation of vectors
| -rw-r--r-- | gistanalysis/src/ofApp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); |
