From 6ddbbe09b48a58c7f217d22302cf8e807948837e Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Wed, 24 Oct 2018 11:09:05 +0200 Subject: [PATCH] fix missing radius in getsurfacepoint of sphere --- libsrc/csg/algprim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }