MachoChen / recastnavigation

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

rcCompactHeightfield ctor and dtor missing? #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It looks like rcCompactHeightfield declares a constructor and destructor but 
never implements them. It's not linking for me...but it links in your editor. 
So I'm confused?!? Adding empty implementations solved my linker problems.

Original issue reported on code.google.com by armstron...@gmail.com on 24 Aug 2010 at 11:31

GoogleCodeExporter commented 8 years ago
Oops, It should not have constructors!

You need to use rcAllocCompactHeightfield to allocate compact heighfield and 
rcFreeCompactHeightfield to destroy it. That's why it works on the example code.

Original comment by memono...@gmail.com on 24 Aug 2010 at 1:25

GoogleCodeExporter commented 8 years ago
ctor/dtor removed in R206.

Original comment by memono...@gmail.com on 24 Aug 2010 at 6:01