Reduced the value of EPSILON by a smaller amount. octtree-mesh octtree master
Reduced the value of EPSILON by a smaller amount.

--- a/Triangle.cpp
+++ b/Triangle.cpp
@@ -53,6 +53,7 @@
 
   double a=ab.x();
   double b=ab.y();
+  //std::cout << "a=" << a << "\tb=" << b << std::endl;
   if(a<-EPSILON || a>1+EPSILON) // Not inside triangle
     return false;
 

file:a/config.h -> file:b/config.h
--- a/config.h
+++ b/config.h
@@ -1,7 +1,7 @@
 #ifndef CONFIG_H_
 #define CONFIG_H_
 
-#define EPSILON 0.00000001
+#define EPSILON 1e-11 //0.00000001
 
 #endif // CONFIG_H_
 

Binary files a/tests/bumpmaptest.png and b/tests/bumpmaptest.png differ

Binary files a/tests/house.png and b/tests/house.png differ

Binary files a/tests/spotlightsample1.png and b/tests/spotlightsample1.png differ