231 Commits

Author SHA1 Message Date
Mikko Mononen
057c3e9bfd Commented assert headers for encouraged usage. Navmesh query stores const dtNavMesh pointer. 2010-08-24 18:11:06 +00:00
Mikko Mononen
5abddbf0cd Refactored rcBuildContext to be more customization friendly, changed name to rcContext. 2010-08-24 17:53:38 +00:00
Mikko Mononen
a9f439b35e testing if svn is not borked 2010-08-23 18:13:32 +00:00
Mikko Mononen
a16f0e3e5e Fix for Issue 109. 2010-08-23 17:44:27 +00:00
Mikko Mononen
8215cd48d1 - win32 compile fixes
- update vc project
2010-08-19 10:23:58 +00:00
Mikko Mononen
613d61f453 Removed Recast timer and log, added rcBuildContext, improved build time printout, fixed issue 67, issue 77, issue 87 2010-08-19 09:26:55 +00:00
Mikko Mononen
47a572d42e Fix for issue 101 2010-08-10 08:29:43 +00:00
Mikko Mononen
5ebcb453fb Issue 45:Input triangle based area creation (another try) 2010-07-13 07:19:10 +00:00
Mikko Mononen
a87947cc3f fix for Issue 98 2010-07-11 10:18:44 +00:00
Mikko Mononen
5070ca9fc4 Fix for Issue 95:rcIntArray still using new/delete 2010-07-10 08:51:35 +00:00
Mikko Mononen
377315641e Updated win32 project.
Fixed allocation of rcRegions, use placement new per array object, not for the whole array.
2010-07-09 13:25:28 +00:00
Mikko Mononen
cd3a351f40 Custom allocator for Recast. 2010-07-09 12:55:14 +00:00
Mikko Mononen
fb369a2efd Removed math.h dependancy from Recast.h, moved sqrtf to Recast.cpp. 2010-07-09 08:45:58 +00:00
Mikko Mononen
5d91c09e00 fix for Issue 94:rcBuildContours fails when small area is marked near tile edge 2010-07-08 14:38:53 +00:00
Mikko Mononen
fca9709196 fix for issue 85:Make getSpanCount accessible 2010-07-08 11:41:08 +00:00
Mikko Mononen
4ac6b64050 use breath first search when finding detail data so that we don't expand to wrong storey. 2010-05-28 06:31:43 +00:00
Mikko Mononen
11386cedcf Added option to tesselate edges between areas. Fixed bug in orphan contour merging, which could create overlapping contour. 2010-05-26 09:20:57 +00:00
Mikko Mononen
87800abc28 Fix for Issue 73, Handle zero-height spans. 2010-05-05 13:15:40 +00:00
Mikko Mononen
4c1a122a91 Fixed bug where clicks went through GUI. Added a couple of consts into detail mesh code. 2010-04-20 07:35:40 +00:00
Mikko Mononen
10b330ffb4 Moved common functions behind name decoration. 2010-04-14 18:45:46 +00:00
Mikko Mononen
193f44a388 Issue 61: take 2, missing files. 2010-04-13 10:58:18 +00:00
Mikko Mononen
5119b5cb16 API CHANGE! Better serialization support. 2010-03-25 12:24:40 +00:00
Mikko Mononen
9cd943264e fixes for Issue 56: Fairly minor bugs picked up by static analysis tool 2010-03-18 08:53:45 +00:00
Mikko Mononen
8291ceace2 Fix for Issue 54: Bug when a non-shared vertex is marked for remove 2010-03-18 08:42:45 +00:00
Mikko Mononen
d9d9fa85a5 Added more bits to compact neighbour indices, moved region id to rcCompactSpan to save memory. 2010-03-05 09:10:13 +00:00
Mikko Mononen
ababd28f59 Issue 51: crash when poly nvp is change to smaller after first build. 2010-03-02 10:05:04 +00:00
Mikko Mononen
af0d41f5ff Compact heighfield dump and debug project to load it. 2010-03-01 08:22:50 +00:00
Mikko Mononen
dbf95000e6 fix for issues 48 and 49. 2010-02-20 17:53:04 +00:00
Mikko Mononen
095c9a544f Changed null to 0, fix compilation on linux. 2010-02-16 08:49:32 +00:00
Mikko Mononen
ce338df394 More robust handling of detail mesh height values. 2010-02-12 14:41:42 +00:00
Mikko Mononen
dd5377a503 Moved rcAddSpan to public API. 2010-02-12 13:19:47 +00:00
Mikko Mononen
668484eb14 Better handling of contour problems. 2010-02-12 10:25:28 +00:00
Mikko Mononen
a715e9a5f7 Area progress: Pass area type and ability flags to recast. Convex Area tool. Mark chf with convex volumes. Better visualization of volumes. 2010-02-05 16:15:49 +00:00
Mikko Mononen
fa66b9a9f3 Compiles with -Wall (except stb_truetype) 2010-02-05 07:32:30 +00:00
Mikko Mononen
be4a807242 fix for Issue 40: RecastMesh.cpp : removeVertex bad indexing 2010-02-05 06:50:08 +00:00
Mikko Mononen
9035462e86 rcBuildRegionsMonotone works again too. 2010-02-01 14:57:26 +00:00
Mikko Mononen
9b881bde8c NOTE: Changed the generation procedure, see samples! Erode walkable area before area is generated. Allow to mark areas on chf. Generate regions following areas (+ many fixes here and there to make it alwasy work). 2010-02-01 14:08:06 +00:00
Mikko Mononen
9bf68216a3 Better handling of low obstacles. 2010-01-29 11:37:14 +00:00
Mikko Mononen
5651b7c5dd Changed many 0xffff:s to named consts. 2010-01-27 14:52:18 +00:00
Mikko Mononen
44b6c54c57 Fixed too large memory alloc in rcBuildPolyMesh. 2010-01-10 17:16:33 +00:00
Mikko Mononen
a73da5e966 Moved all debug draw utilities to DebugUtils folder. Added recast data to .obj dump functions. 2009-12-09 15:45:10 +00:00
Mikko Mononen
121807b601 Fixed Issue 27: RecastMeshDetail.cpp:buildPolyDetail: Unused parameter: reg 2009-12-07 09:53:41 +00:00
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
6a00efb936 Compile fixes for VC. Update VC project. 2009-12-03 16:28:27 +00:00
Mikko Mononen
d142754ad5 Fixed crash in rcBuildPolyMesh() when one of the contours had zero vertices. 2009-11-25 15:21:49 +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
753ebdc319 Issue 20: removed unused variable from mergePolys() function. 2009-11-20 13:47:15 +00:00
Mikko Mononen
b93bd10fa4 Fixed a couple of bounds checks in detail mesh height query. 2009-11-20 08:15:09 +00:00