#include "TriangleSoup.h"
#include "Ray.h"
// Hint
#include "first_hit.h"

bool TriangleSoup::intersect(
    const Ray & ray, const double min_t, double & t, Eigen::Vector3d & n) const
{
    int hit_id; /* Ignored. */
    return first_hit(ray, min_t, triangles, hit_id, t, n);
}
