diff -r e6567b740c5e -r 3239f749e394 src/scene.h --- a/src/scene.h Thu Nov 22 18:10:10 2007 +0100 +++ b/src/scene.h Thu Nov 22 21:46:09 2007 +0100 @@ -23,6 +23,9 @@ Vector3 L; Vector3 R; BBox(): L(), R() {}; + float w() { return R.x-L.x; }; + float h() { return R.y-L.y; }; + float d() { return R.z-L.z; }; }; class Ray