Skip to content
Snippets Groups Projects
Commit a16800f4 authored by Steve Tonneau's avatar Steve Tonneau
Browse files

[BUG FIX LIBCDD] using diagonal generator ray avois crashing libcdd...

parent 0adfb886
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ bool StaticEquilibrium::setNewContacts(Cref_matrixX3 contactPoints, Cref_matrixX
A.bottomRows<3>() = crossMatrix(-1.0*contactPoints.row(i).transpose());
// compute generators
theta = 0.0;
theta = acos(1/sqrt(2));
for(int j=0; j<cg; j++)
{
G.col(j) = frictionCoefficient*sin(theta)*T1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment