Thread Previous • Date Previous • Date Next • Thread Next |
> > // distance between two contact spheres > d=((Body::byId(id1,scene)->state->pos) - > (Body::byId(id2,scene)->state->pos) + > (scene->cell->hSize*I->cellDist.cast<Real>())).norm(); > Bracket problem I think. It should read: d=pos1 - (pos2+shift2) but here I see: d=pos1 - pos2 + shift2 B.
Thread Previous • Date Previous • Date Next • Thread Next |