X-Git-Url: http://git.tdb.fi/?p=libs%2Fmath.git;a=blobdiff_plain;f=source%2Fgeometry%2Fhalfspace.h;h=b439851bd5adaf3a7067c7f91f5bf8308bb01166;hp=518f91ab7ad46979766f25d2ea96deb984cde345;hb=7919982691f0b8c69d8bef1bf6471b1e7a312163;hpb=338866aa988a4a450f4e78f65d3e3ec08c7112c7 diff --git a/source/geometry/halfspace.h b/source/geometry/halfspace.h index 518f91a..b439851 100644 --- a/source/geometry/halfspace.h +++ b/source/geometry/halfspace.h @@ -76,6 +76,7 @@ inline unsigned HalfSpace::get_intersections(const Ray &ray, Surface points[0].position = ray.get_start()+ray.get_direction()*x; points[0].normal = normal; points[0].distance = x; + points[0].entry = (c