diff options
Diffstat (limited to 'src/mesh.h')
-rw-r--r-- | src/mesh.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ less than `min_distance`, return true, else return false. */ __device__ bool intersect_node(const float3 &origin, const float3 &direction, - Geometry *geometry, const int &i, const float &min_distance) + Geometry *geometry, const int &i, float min_distance=-1.0f) { /* assigning these to local variables is faster for some reason */ float3 lower_bound = geometry->lower_bounds[i]; |