X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgeometry%2Fhalfspace.h;h=b439851bd5adaf3a7067c7f91f5bf8308bb01166;hb=7de28b9c89ca4554f5c12746f481f5b385529479;hp=518f91ab7ad46979766f25d2ea96deb984cde345;hpb=2087c3bb9e6087ccce86360c1c57823aa8a9ff40;p=libs%2Fmath.git 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