WORKING ReflectiveEyelightShader \o/
[MicroTrace.git] / Ray.cxx
diff --git a/Ray.cxx b/Ray.cxx
index 584db26..e0a1ab5 100644 (file)
--- a/Ray.cxx
+++ b/Ray.cxx
@@ -2,13 +2,13 @@
 
 #include "Ray.hxx"
 
-#define MAX_RECURSION_DEPTH 5
+#define MAX_RECURSION_DEPTH 10
 
 Ray::Ray()
   : m_org(Vec3f()),
     m_dir(Vec3f()),
-    m_hit(0),
-    m_level(MAX_RECURSION_DEPTH)
+    m_level(MAX_RECURSION_DEPTH),
+    m_hit(0)
 {
   m_t = std::numeric_limits<float>::max();
 }
@@ -17,8 +17,8 @@ Ray::Ray(const Vec3f& org,
         const Vec3f& dir)
   : m_org(org),
     m_dir(dir),
-    m_hit(0),
-    m_level(MAX_RECURSION_DEPTH)
+    m_level(MAX_RECURSION_DEPTH),
+    m_hit(0)
 {
   m_t = std::numeric_limits<float>::max();
 }
This page took 0.031282 seconds and 4 git commands to generate.