summaryrefslogtreecommitdiff
path: root/rayhit/src
diff options
context:
space:
mode:
Diffstat (limited to 'rayhit/src')
-rw-r--r--rayhit/src/testApp.cpp2
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!