diff options
Diffstat (limited to 'futuregael/src')
| -rw-r--r-- | futuregael/src/main.cpp | 22 | ||||
| -rw-r--r-- | futuregael/src/ofApp.cpp | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/futuregael/src/main.cpp b/futuregael/src/main.cpp new file mode 100644 index 0000000..3e20ab7 --- /dev/null +++ b/futuregael/src/main.cpp @@ -0,0 +1,22 @@ +#include "ofMain.h" +#include "ofApp.h" + + +//======================================================================== +int main(int argc, char *argv[]){ + + + ofGLFWWindowSettings settings; + + settings.setSize(1200,900); + + //1200 = 13.2° = 42898 pts theoretical + + shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings); + + shared_ptr<ofApp> mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} +
\ No newline at end of file diff --git a/futuregael/src/ofApp.cpp b/futuregael/src/ofApp.cpp index 77fb538..9d69e27 100644 --- a/futuregael/src/ofApp.cpp +++ b/futuregael/src/ofApp.cpp @@ -6,7 +6,7 @@ void ofApp::setup(){ // Load a CSV File. if(csv.load("show.csv","|")) { - ofLog()<<"found "<<csv.getNumRows()<<" of data"; + ofLog()<<"found "<<csv.getNumRows()<<" lines in show"; for (auto row:csv){ if (row.size()<2){ |
