10 Commits

Author SHA1 Message Date
Mikko Mononen
8d146ade90 Fixed Issue 26: RecastMeshDetail.cpp: updateLeftFace: t parameter is unused. 2009-12-07 09:52:07 +00:00
Mikko Mononen
113ba0aaae Fox for Issue 25: RecastMeshDetail.cpp:buildPolyDetail: Uneeded line of code. 2009-12-07 09:48:23 +00:00
Mikko Mononen
f77a7511ed Detail mesh is calculated in tile local coordinates for better floating point accuracy. 2009-11-23 08:44:01 +00:00
Mikko Mononen
7b7f0e6fb9 Removed ununsed dialtion code from detail mesh getHeightData(). 2009-11-23 08:34:39 +00:00
Mikko Mononen
b93bd10fa4 Fixed a couple of bounds checks in detail mesh height query. 2009-11-20 08:15:09 +00:00
Mikko Mononen
14d1c97f1a Added RC_NOT_CONNECTED which is used to check the return value of rcGetCon() 2009-11-15 11:24:20 +00:00
Mikko Mononen
aa62a15161 Rewrote the delaunay triangulation code of the detail mesh generation. Fixed some cases where detail mesh height was bad. 2009-10-23 13:02:10 +00:00
Mikko Mononen
ed73b46308 - Changed gotos as cleanup mechanism to a scoped delete template.
- Removed unnecessary ptr casts to ints to allow to compile on 64bits systems.
- Added custom and portable qsort_r.
- Use gettimeofday() as performance timer on unix/bsd/osx
- Moved variables from rcCompactSpan to separate arrays.
2009-09-28 09:54:37 +00:00
Mikko Mononen
c3e9d7fcb3 Win32 binary and VC compile fixes. 2009-08-24 13:20:15 +00:00
Mikko Mononen
6de4d30705 Monster update which adds detail height meshes.
- Added detail height mesh generation (RecastDetailMesh.cpp) for single,tiled statmeshes as well as tilemesh.
- Added feature to contour tracing which detects extra vertices along tile edges which should be removed later.
- Changed the tiled stat mesh preprocess, so that it first generated polymeshes per tile and finally combines them.
- Fixed bug in the GUI code where invisible buttons could be pressed.
2009-08-24 12:44:44 +00:00