[ODE] collision_trimesh.cpp

Adam D. Moss adam at gimp.org
Sun Apr 4 09:58:59 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).

--Adam
-- 
Adam D. Moss   . ,,^^   adam at gimp.org   http://www.foxbox.org/   co:3


More information about the ODE mailing list