include/scene.h
branchpyrit
changeset 50 14a727b70d07
parent 49 558fde7da82a
child 53 228cb8bfdd54
--- a/include/scene.h	Fri Mar 28 00:53:20 2008 +0100
+++ b/include/scene.h	Fri Mar 28 17:13:21 2008 +0100
@@ -52,6 +52,7 @@
 {
 public:
 	Vector3 o, dir;
+	Ray(): o(), dir() {};
 	Ray(const Vector3 &ao, const Vector3 &adir):
 		o(ao), dir(adir) {};
 };