X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgeometry%2Fintersection.h;h=0e555b03f7086185076ca904512605b0ae204e08;hb=44bd1d1ab256d397be4e2169c4ca5efdd0569d31;hp=7d21f75f81c081e87aeb783710a56aab7fe6207e;hpb=2087c3bb9e6087ccce86360c1c57823aa8a9ff40;p=libs%2Fmath.git diff --git a/source/geometry/intersection.h b/source/geometry/intersection.h index 7d21f75..0e555b0 100644 --- a/source/geometry/intersection.h +++ b/source/geometry/intersection.h @@ -10,11 +10,7 @@ template struct IntersectionOps { static BoundingBox combine_aabb(const BoundingBox &a, const BoundingBox &b) { return a&b; } - static bool init_inside() { return true; } - static bool combine_inside(bool a, bool b) { return a && b; } - static bool is_inside_decided(bool a) { return !a; } - static bool init_surface() { return true; } - static bool combine_surface(bool a, bool b) { return a && b; } + static bool shortcircuit(bool c) { return !c; } }; /**