From 8b59180d73b5678e5f2274b98e3440d01917caa1 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 18 May 2012 11:07:07 +0100 Subject: sketch with numbers --- src/testApp.cpp | 41 +++++++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 10 deletions(-) (limited to 'src/testApp.cpp') diff --git a/src/testApp.cpp b/src/testApp.cpp index 8aa0e05..a3d5510 100644 --- a/src/testApp.cpp +++ b/src/testApp.cpp @@ -32,7 +32,7 @@ void testApp::setup(){ camera.cacheMatrices(); //stop error messages */ - ofSetFrameRate(30); + ofSetFrameRate(60); ofSetCircleResolution(windowWidth); ofEnableSmoothing(); @@ -40,13 +40,20 @@ void testApp::setup(){ camera.setPosition(0,windowHeight*10,windowHeight); camera.lookAt(ofVec3f(0,0,-windowHeight*.5),ofVec3f(0, 0, 1)); camera.setFov(6.5); + camera.cacheMatrices(); - lines = new ofPoint[25]; - for (int i=0;i<25;i++) { + numLines=20; + + lines = new ofPoint[numLines]; + imeis = new string[numLines]; + for (int i=0;i