diff --git a/libsrc/csg/algprim.cpp b/libsrc/csg/algprim.cpp index 9391066b..30dd780e 100644 --- a/libsrc/csg/algprim.cpp +++ b/libsrc/csg/algprim.cpp @@ -558,7 +558,7 @@ namespace netgen Point<3> Sphere :: GetSurfacePoint () const { // if two spheres touch at exactly that point meshing fails. - return c + Vec<3> (0.12345, 0.54321, 0.8304715488203073); + return c + r * Vec<3> (0.12345, 0.54321, 0.8304715488203073); }