← Back to team overview

yade-dev team mailing list archive

Re: [Bug 603227] [NEW] Rotation of facet_sphere_scgeom?

 

On 08/07/10 21:54, Sergei D. wrote:
08.07.2010 20:08, Chareyre:
Public bug reported:

Implementing precomputed ScGeom in Ig2_Facet_Sphere_ScGeom, I realized that previousNormal is not updated and not used at all in this one. It might well be linked with other bugs.

Ig2_Facet_Sphere_ScGeom.cpp:
107    if(isNew) { scm->prevNormal=normal;}
108    else scm->prevNormal=scm->normal;

I just added it in 2336. ;-)
I didn't run any test though, and it may have no effect at all.
For sure it should be investigated.

Bruno




Follow ups

References