Commit Graph
399 Commits
Author SHA1 Message Date
axelrodR f60468abcb Merge branch 'master' of https://github.com/memononen/recastnavigation
thrown away the fix I made to Recast/Source/RecastMeshDetail.cpp in favor of the upstream code.
2014-01-20 01:28:33 +02:00
axelrodR 4d657b9561 changed remarks 2014-01-20 00:55:40 +02:00
axelrodR 0c40165908 bugfix in RecastMeshDetail: in some rare dense cases the polygon simplification moves the polygon to a point where the center is very far from the region. For now we just fall back to the old code (flood-fill from the vertices) 2014-01-20 00:54:18 +02:00
axelrodR b4204ba9a2 bugfix: minor typo caused stack overrun when several vertices happen to fall exactly on cell boundaries 2014-01-20 00:12:53 +02:00
Mikko Mononen 29db8cde1b Fix for detail mesh corner cases
- fix case where thing long poly center may not be on the region
2014-01-19 17:49:40 +02:00
Mikko Mononen 65da694f50 gitignore meshes starting with underscore 2014-01-19 16:47:47 +02:00
Mikko Mononen ad7a13cbf3 Small formatting change to dividePoly() 2014-01-19 16:47:26 +02:00
Mikko Mononen 1b04dc9c80 Merge branch 'master' of https://github.com/axelrodR/recastnavigation into axelrodR-master 2014-01-19 15:32:47 +02:00
Mikko Mononen 6469a99f11 Fixed item type in PolyRefArray from int to dtPolyRef 2014-01-19 15:32:09 +02:00
axelrodR 98f2f02c2b Optimization of of the mesh detail construction: replaced the first of the 2 flood-fill algorithms (the one used to find the span corresponding to the center of the polygon) with a search of span at the center with the region matching the polygon. 2014-01-19 14:02:41 +02:00
axelrodR e063ba6f5a Rasterization optimization: replaced clipping for each individual cell. the clipping line/plane between two adjacent cells is common so data from former cell can be reused if we keep track of the "remaining polygon". 2014-01-15 14:14:08 +02:00
axelrodR 8e4633c64b Performance optimizations:
1. Triangle rasterization: replaced loops over all the grid cells of the AABB with looping over the area of the triangle itself (i.e. bounds are set per row).
2. Region expansion: instead of sweeping through all the cells at each expandRegion() and finding the right level - sweep once per few levels and divide among several stacks. Left over are appended.
2014-01-08 12:02:00 +02:00
Mikko Mononen b3d27bdb46 Fix for Issue #12
- fixed errors reported by valgrind
2014-01-02 21:03:05 +02:00
Mikko Mononen 64828488b1 Fixed docs of maxSimplificationError units. 2013-12-22 18:24:58 +02:00
Mikko Mononen a08258d9dd Merge pull request #11 from flippy84/master
Update DetourNavMeshQuery.h
2013-12-22 08:02:47 -08:00
Mikko Mononen 6a7f5268ab Added define to compile Detour with 64bit dtPolyRefs 2013-12-22 18:01:06 +02:00
flippy84 3f8c0506fb Update DetourNavMeshQuery.h
Changed existing and existingSize parameters of finalizeSlicedFindPathPartial to @param[in]
2013-12-21 13:49:38 +01:00
Mikko Mononen 7308f91d80 Merge pull request #8 from grahamboree/unused_warnings
Fix for google code Issue 108
2013-10-16 09:38:48 -07:00
grahamboree dc7e248de6 Removed header dependency between Detour and Recast due to addition of rcIgnoreUnused. Added dtIgnoreUnused. 2013-10-15 17:29:14 -04:00
grahamboree 683acbb11c Silenced double->float conversion warning. 2013-10-14 16:38:03 -04:00
grahamboree 35db2af872 Silenced additional unused parameter warning. 2013-10-14 16:36:49 -04:00
grahamboree b493e7e6f6 Added rcIngoreUnused which can be called to ignore unused parameters. 2013-10-14 16:32:20 -04:00
Mikko Mononen a04504f020 Merge pull request #7 from grahamboree/master
Added vim swap file exclusions to .gitignore
2013-10-14 12:56:50 -07:00
grahamboree cca22c6082 Merge remote-tracking branch 'upstream/master' 2013-10-14 15:17:34 -04:00
Graham Pentheny dbfed86b08 Added vim swap file exclusions to .gitignore 2013-10-14 13:41:17 -04:00
Cameron Hart 2d9033f3d4 Generate debug symbols in release builds and use fast floats. 2013-10-06 12:07:38 +11:00
Cameron Hart e01b1ef3b6 Fixed bug where debug and release libs would have the same file path.
This broke make when switching between debug and release configs.
2013-10-06 10:45:10 +11:00
Cameron Hart bbcb11fd14 Quick fix for Win32. Need to handle linking to SDL for x64 still. 2013-10-02 08:18:48 +10:00
Mikko Mononen eec40309bc Updates for readme 2013-10-01 22:26:39 +02:00
Mikko Mononen be4d6fc180 Updated build system to premake4 2013-10-01 19:53:18 +02:00
Cameron Hart 69d5548a9c Added Linux build exe to gitignore. 2013-09-29 15:06:10 +10:00
Cameron Hart ee4fa30c73 Fixes for MSVC CMake build.
Look in the right place for SDL libs depending on arch.
Output exe's to RecastDemo/Bin, with output suffix so different
configs don't clash.
2013-09-29 14:38:44 +10:00
Mikko Mononen 15cd962073 Adjust result height for raycasting 2013-09-25 19:53:13 +02:00
Mikko Mononen f6b11b18a9 Fix for google code Issue 209
- fixed clamping if indices used in getHeight()
2013-09-19 20:26:22 +02:00
Mikko Mononen 991c08f222 Fix for google code Issue 221
- fixed agent idx bound checks
2013-09-19 20:17:41 +02:00
Mikko Mononen 990b245179 Fixed google code Issue 228
- more defencive use of finNearestPoly() in dtCrowd
2013-09-17 21:29:51 +02:00
Mikko Mononen c0d1efac27 Fixed google code Issue 232 2013-09-17 21:19:28 +02:00
Mikko Mononen 816c99aa3e Fixed google code Issue 233 2013-09-17 21:12:43 +02:00
Mikko Mononen 36a967ffcd Fixed google code Issue 234 2013-09-17 21:10:14 +02:00
Mikko Mononen a8d1cba68c Fixed google code Issue 237
- check query status of moveAlongSurface() in path corridor
2013-09-17 21:07:41 +02:00
Mikko Mononen 5d3fd07074 Merge pull request #2 from mendsley/issue_ignored_qualifiers
Fix isolated cases that violate gcc's -Wignored-qualifiers
2013-09-16 13:51:15 -07:00
Mikko Mononen 00fcf075af Bitdeli badge 2013-09-16 21:29:57 +02:00
Mikko Mononen 8395e9fc8a Fixed typo 2013-09-16 21:15:35 +02:00
Mikko Mononen b060188804 Updated Xcode project
- Added DetourMath.h Xcode project
- Added -Wignored-qualifiers to compiler settings
2013-09-16 20:47:57 +02:00
Mikko Mononen 9f632d99fd Merge pull request #1 from mendsley/issue_64bit_arithmetic
Fix 64bit pointer arithmetic warnings
2013-09-16 11:42:58 -07:00
Mikko Mononen d40fd3d2e6 Merge pull request #3 from mendsley/issue_missing_newline
Fix up files missing newlines at end of file
2013-09-16 11:42:32 -07:00
Mikko Mononen 200dd00cb9 Merge pull request #4 from mendsley/math
Add wrappers for the standard math library
2013-09-16 11:41:11 -07:00
Matthew Endsley b0e4e6a834 Add wrappers for the standard math library
Simplifies transition to software based math libraries
for projects requiring determinism.
2013-09-15 20:09:01 -07:00
Matthew Endsley b2058b349a Fix up files missing newlines at end of file 2013-09-15 19:58:49 -07:00
Matthew Endsley 7a2a4b24c1 Fix isolated cases that violate gcc's -Wignored-qualifiers 2013-09-15 19:53:38 -07:00