We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04e389 commit ef234a6Copy full SHA for ef234a6
src/common/embree_intersector.cpp
@@ -2,7 +2,7 @@
2
#include "embree_intersector.h"
3
4
// Implementation
5
-#include <igl/EPS.h>
+// #include <igl/EPS.h>
6
7
EmbreeIntersector::EmbreeIntersector()
8
:
@@ -255,7 +255,7 @@ ::intersectRay(
255
// This epsilon is directly correleated to the number of missed hits, smaller
256
// means more accurate and slower
257
//const double eps = DOUBLE_EPS;
258
- const double eps = igl::FLOAT_EPS;
+ const double eps = 1.0e-7;
259
double min_t = tnear;
260
bool large_hits_warned = false;
261
RTCRayHit ray; // EMBREE_FIXME: use RTCRay for occlusion rays
0 commit comments