From 09fba466578c1074bf7471bbc4615a9047237d46 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 19 Apr 2012 02:14:26 +0100 Subject: bird chasing players --- rayhit/src/testApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rayhit/src/testApp.cpp') diff --git a/rayhit/src/testApp.cpp b/rayhit/src/testApp.cpp index 5e1bd14..ff34033 100644 --- a/rayhit/src/testApp.cpp +++ b/rayhit/src/testApp.cpp @@ -5,7 +5,7 @@ void testApp::setup(){ ofVec3f centre=ofVec3f(ofGetWidth()/2,0,0); //ofGetHeight(),0); ofVec3f normal=ofVec3f(0,0,-1); ray=ofRay(); - plane=ofPlane(centre,normal); + plane=ofPlane(centre,normal,normal,ofVec2f(ofGetWidth(),ofGetWidth())); plane.color=ofColor(255,255,255); //setup that works for a new camera. but can we match the existing camera, must be possible! -- cgit v1.2.3