X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Fgeometry%2Fhypersphere.h;fp=source%2Fgeometry%2Fhypersphere.h;h=ce424e141cb32bbd9e5b8ed1b59cf9aee05ed617;hb=24f239e418599c13a9d0bdc4942c188ccf0a8437;hp=48fdb8aa2b98bfeb91cee5b62c21d375ff35a247;hpb=c135ff2480f4e2aaf05b0206631bb0e1b5d73fad;p=libs%2Fmath.git diff --git a/source/geometry/hypersphere.h b/source/geometry/hypersphere.h index 48fdb8a..ce424e1 100644 --- a/source/geometry/hypersphere.h +++ b/source/geometry/hypersphere.h @@ -90,7 +90,7 @@ inline unsigned HyperSphere::get_intersections(const Ray &ray, Surfa for(int i=-1; i<=1; i+=2) { T x = mid+offset*i; - if(x>0 && n