BullFlack / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

Documentation Issue: rcPolyMeshDetail #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Just a minor but significant issue with the documentation for the 
rcPolyMeshDetail structure in Recast.h (r233)

Current: 
//   const unsigned char* t = &dmesh.tris[(tbase+i)*3]; and
Should be:
//   const unsigned char* t = &dmesh.tris[(tbase+i)*4]; and

This is because the stride of the tris array is 4 (indexA, indexB, indexC, 
flag), not 3.

Original issue reported on code.google.com by steve...@gmail.com on 1 Nov 2010 at 8:39

GoogleCodeExporter commented 8 years ago
Fixed in R254.

Original comment by memono...@gmail.com on 21 Nov 2010 at 3:00