Skip to content
Snippets Groups Projects
Commit ece5fc89 authored by mattijs's avatar mattijs
Browse files

distance at centre

parent 7493d1ca
Branches
Tags
No related merge requests found
......@@ -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
{
......
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