--- 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