For rcAddSpan, the header declares the area parameter as an unsigned short,
while the source declares it as an unsigned char.
This results in linker errors if rcAddSpan is used.
From Recast.h:
void rcAddSpan(rcContext* ctx,
rcHeightfield& solid,
const int x,
const int y,
const unsigned short smin,
const unsigned short smax,
const unsigned short area, <<<<<<
const int flagMergeThr);
From RecastRasterization.cpp:
void rcAddSpan(rcContext* /*ctx*/,
rcHeightfield& hf,
const int x,
const int y,
const unsigned short smin,
const unsigned short smax,
const unsigned char area, <<<<<<
const int flagMergeThr) { ... }
Original issue reported on code.google.com by steve...@gmail.com on 26 Apr 2011 at 8:18
Original issue reported on code.google.com by
steve...@gmail.com
on 26 Apr 2011 at 8:18