swordlegend / recastnavigation

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

Make getSpanCount accessible #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Can you make getSpanCount accessible...so that I can tell if it's worth going 
onto the compact heightfield step after generating the main heightfield. If no 
geometry intersects the heightfield during voxelisation then there's no point 
continuing the build process (and it will fix a zero byte allocation problem).

static int getSpanCount(unsigned char flags, rcHeightfield& hf)

Probably needs renaming to rcGetSpanCount too...to keep it consistent.

Thanks,
Neil

Original issue reported on code.google.com by armstron...@gmail.com on 8 Jun 2010 at 11:45

GoogleCodeExporter commented 9 years ago

Original comment by memono...@gmail.com on 8 Jun 2010 at 5:19

GoogleCodeExporter commented 9 years ago
Fixed in R172. The function is called rcGetHeightFieldSpanCount.

Original comment by memono...@gmail.com on 8 Jul 2010 at 11:41