projects
/
MicroTrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
still broken ReflectiveEyeLightShader, saving it for later
[MicroTrace.git]
/
Ray.cxx
diff --git
a/Ray.cxx
b/Ray.cxx
index
a3c76cb
..
584db26
100644
(file)
--- a/
Ray.cxx
+++ b/
Ray.cxx
@@
-2,11
+2,13
@@
#include "Ray.hxx"
#include "Ray.hxx"
+#define MAX_RECURSION_DEPTH 5
+
Ray::Ray()
: m_org(Vec3f()),
m_dir(Vec3f()),
m_hit(0),
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_t = std::numeric_limits<float>::max();
}
@@
-16,7
+18,7
@@
Ray::Ray(const Vec3f& org,
: m_org(org),
m_dir(dir),
m_hit(0),
: m_org(org),
m_dir(dir),
m_hit(0),
- m_level(
10
)
+ m_level(
MAX_RECURSION_DEPTH
)
{
m_t = std::numeric_limits<float>::max();
}
{
m_t = std::numeric_limits<float>::max();
}
This page took
0.023278 seconds
and
4
git commands to generate.