--- a/src/celmath/intersect.h +++ b/src/celmath/intersect.h @@ -15,6 +15,7 @@ #include "ray.h" #include "sphere.h" #include "ellipsoid.h" +#include "mathlib.h" template bool testIntersection(const Ray3& ray,