fix missing radius in getsurfacepoint of sphere

This commit is contained in:
Christopher Lackner 2018-10-24 11:09:05 +02:00
parent b0129d0473
commit 6ddbbe09b4

View File

@ -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);
}