Commit ece5fc89 authored by mattijs's avatar mattijs
Browse files

distance at centre

parent 7493d1ca
......@@ -292,7 +292,8 @@ void Foam::searchableSphere::getNormal
if (info[i].hit())
{
normal[i] = info[i].hitPoint() - centre_;
normal[i] /= mag(normal[i]);
normal[i] /= mag(normal[i])+VSMALL;
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment