diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-04-19 02:14:26 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-04-19 02:14:26 +0100 |
| commit | 09fba466578c1074bf7471bbc4615a9047237d46 (patch) | |
| tree | 5741542ed77047527414218d4d192bd5b590d41b /rayhit/src | |
| parent | c4fc08cc7238dfa310ed56e65a24df22c6bbb625 (diff) | |
bird chasing players
Diffstat (limited to 'rayhit/src')
| -rw-r--r-- | rayhit/src/testApp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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! |
