File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/CollisionAlgorithm/algorithm Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,6 @@ class InsertionAlgorithm : public BaseAlgorithm
136136 auto projectOnSurf = Operations::Project::Operation::get (l_surfGeom);
137137 auto projectOnTip = Operations::Project::Operation::get (l_tipGeom);
138138
139- const bool isProjective = d_projective.getValue ();
140139 const SReal punctureForceThreshold = d_punctureForceThreshold.getValue ();
141140 for (auto itTip = l_tipGeom->begin (); itTip != l_tipGeom->end (); itTip++)
142141 {
@@ -167,13 +166,7 @@ class InsertionAlgorithm : public BaseAlgorithm
167166 }
168167 }
169168
170- // 1.2 If not, create a proximity pair for the tip-surface collision
171- if (isProjective)
172- {
173- tipProx = projectOnTip (surfProx->getPosition (), itTip->element ()).prox ;
174- if (!tipProx) continue ;
175- tipProx->normalize ();
176- }
169+ // ... if not, create a proximity pair for the tip-surface collision
177170 collisionOutput.add (tipProx, surfProx);
178171 }
179172 }
You can’t perform that action at this time.
0 commit comments