X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fgeometry%2Fhypersphere.h;h=ce424e141cb32bbd9e5b8ed1b59cf9aee05ed617;hb=aee0d4c9f7d4dc6ac77b6ff3429973f16d86144b;hp=ed2b49ff161141e4364a5bd81773ed0c9cc16632;hpb=adb812a194961d542dcb0abd61258cbc8723ecd9;p=libs%2Fmath.git diff --git a/source/geometry/hypersphere.h b/source/geometry/hypersphere.h index ed2b49f..ce424e1 100644 --- a/source/geometry/hypersphere.h +++ b/source/geometry/hypersphere.h @@ -90,12 +90,13 @@ 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