Skip to content

Commit ef234a6

Browse files
authored
Update embree_intersector.cpp
1 parent f04e389 commit ef234a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/embree_intersector.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "embree_intersector.h"
33

44
// Implementation
5-
#include <igl/EPS.h>
5+
// #include <igl/EPS.h>
66

77
EmbreeIntersector::EmbreeIntersector()
88
:
@@ -255,7 +255,7 @@ ::intersectRay(
255255
// This epsilon is directly correleated to the number of missed hits, smaller
256256
// means more accurate and slower
257257
//const double eps = DOUBLE_EPS;
258-
const double eps = igl::FLOAT_EPS;
258+
const double eps = 1.0e-7;
259259
double min_t = tnear;
260260
bool large_hits_warned = false;
261261
RTCRayHit ray; // EMBREE_FIXME: use RTCRay for occlusion rays

0 commit comments

Comments
 (0)