[ODE] collision_trimesh.cpp

Erwin de Vries erwin at vo.com
Sun Apr 4 13:13:02 MST 2004


> Valerye Bostan wrote:
> > While digging the code, I have noticed a small thing in
> > collision_trimesh.cpp, line 283 (in the body of "void
dGeomTriMeshGetTriangle()"):
> >
> > ...
> >         if (v1){
> >                 (*v1)[0] = v[1][0];
> >                 (*v1)[1] = v[1][1];
> >                 (*v1)[2] = v[1][2];
> >                 (*v1)[3] = v[0][3];
> >         }
> > ...
> > maybe, this should be as it is, or it is not important at all,
> > but I expect it to be "v[1][3]" there?
>
> Anyone have any thoughts on this?  I think Valerye is
> right (but I also think that the 4th componant isn't
> used anyway).

Yea this is wrong. However it doesnt make a difference indeed.

Erwin



More information about the ODE mailing list