#include "Ray.hxx"
+#define MAX_RECURSION_DEPTH 5
+
Ray::Ray()
: m_org(Vec3f()),
m_dir(Vec3f()),
m_hit(0),
- m_level(10)
+ m_level(MAX_RECURSION_DEPTH)
{
m_t = std::numeric_limits<float>::max();
}
: m_org(org),
m_dir(dir),
m_hit(0),
- m_level(10)
+ m_level(MAX_RECURSION_DEPTH)
{
m_t = std::numeric_limits<float>::max();
}