350 Commits

Author SHA1 Message Date
Mikko Mononen
19e2d8dbe6 Fixed pos-over-poly case for finding nearest polygon 2014-02-16 11:27:45 +02:00
Mikko Mononen
6702143bc1 Fix for broken raycasts, changes how findNearestPoly works, slight API change
- test case supports raycasts
- changes how findNearestPoly works directly over polygons
- API change: findNearestPoly has additional parameter
2014-02-11 20:32:00 +02:00
Mikko Mononen
bc964f9994 Fix for U-turn path case 2014-01-21 19:15:08 +02:00
Mikko Mononen
6469a99f11 Fixed item type in PolyRefArray from int to dtPolyRef 2014-01-19 15:32:09 +02:00
grahamboree
683acbb11c Silenced double->float conversion warning. 2013-10-14 16:38:03 -04:00
grahamboree
b493e7e6f6 Added rcIngoreUnused which can be called to ignore unused parameters. 2013-10-14 16:32:20 -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
be4d6fc180 Updated build system to premake4 2013-10-01 19:53:18 +02: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
36a967ffcd Fixed google code Issue 234 2013-09-17 21:10:14 +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
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
Mikko Mononen
c48cd11038 Ignore more xcode user data
- ignore xcode user data
- added xcode4 workspace data
2013-09-15 21:02:14 +02:00
Mikko Mononen
0f47222795 Updated readme
- added README.md
- moved old release notes to wiki
- removed TODO.txt
- remove old readme
- added more stuff to .gitingore
2013-09-15 20:50:28 +02:00
Mikko Mononen
3fe0ce617d Added .gitignore and removed binaries
- Removed binaries since they are always out of sync anyways
- Added .gitignore for DS store files
2013-09-15 20:33:41 +02:00
Cameron Hart
57e003c3c6 CMake fix - removed hidden variable SDLMAIN_LIBRARY from TARGET_LINK_LIBRARIES, it's not needed. 2013-01-26 05:56:31 +00:00
Mikko Mononen
943ce1b263 Fix0ring r347... 2012-10-21 16:21:47 +00:00
Mikko Mononen
4c6b604ca3 Trying to fix prunetool svn weirdness. 2012-10-21 15:51:58 +00:00
Mikko Mononen
30aed0538e Added small area selection to prune tool. 2012-10-21 15:44:57 +00:00
Mikko Mononen
de6fd8c3ef - use "cylinder distance" for nearest point in polygon
- added option for findStraightPath() to append vertices at get edge crossings
- added scale parameter for .obj loader
2012-09-05 05:57:31 +00:00
Mikko Mononen
a02cc64e4b - fixed issue 203
- fixed debug draw for partial paths
2012-06-12 03:53:16 +00:00
Mikko Mononen
64802ecd0e - Improved unconnected off-mesh connection debug draw
- Fixed connecting off-mesh links which connect to the same tile x,y but different layer
- Fixed crash in navmehs query closestPointOnPolyInTile() when the poly is off-mesh connection
2012-06-12 03:28:43 +00:00
Mikko Mononen
d2b4b09e16 - Added rcOffsetPoly() helper function to expand polygon areas 2012-06-02 10:13:59 +00:00
Mikko Mononen
00edec6ffb - dtCrowd API Changed!
- finalizeSlicedFindPathPartial() returns best if no existing match found
- refactored crowd move requests
- removed adjustMoveTarget()
- added requestMoveVelocity() and resetMoveTarget()
- improved path replanning robustness
- added move visualization to crowd tool
2012-05-31 09:07:54 +00:00
Mikko Mononen
6aa8b1d989 Fix for missing tiles in navmesh. 2012-05-19 09:21:08 +00:00
Mikko Mononen
76e2dcfc6d Fix for issue 197. 2012-04-01 10:07:21 +00:00
Mikko Mononen
db0baf4741 Fix for issue 192. 2012-03-10 20:53:04 +00:00
Mikko Mononen
cd3a68dd9b Random polygon selection for Detour. 2012-02-27 07:17:51 +00:00
Mikko Mononen
e6b1d141d2 Fixed warnings when compiling with -Wshadow. 2012-02-22 17:25:46 +00:00
Mikko Mononen
98eee7e23a Fix for tile cache merge polys, fix for temp obstacle handleUpdate() (call base class). 2012-02-07 16:04:08 +00:00
Mikko Mononen
336409d037 Added tool states, Crowd can be let run in the BG while changing mesh, Added off-mesh connection support for tile cache, Fixed tile cache area generation, Added debugdraw for tile cache build steps, Migrated to Xcode4. 2012-02-04 21:27:07 +00:00
Mikko Mononen
4748710177 Missign files from tile cache update. 2011-11-17 19:28:49 +00:00
Stephen Pratt
bcf8b2ac03 RecastDemo: Updated to the Visual Studio project with the new NavMeshPruneTool file names. 2011-10-04 18:58:49 +00:00
Cameron hart
588d674c72 Made NavMeshPruneTool case consistent with other classes. 2011-10-03 19:38:24 +00:00
Cameron Hart
81098f1fc7 Added NavMeshPruneTool to CMakeLists.txt. 2011-10-02 21:29:12 +00:00
Stephen Pratt
986c8becf8 RecastDemo: Added NavmeshPruneTool files to the Visual Studio project. 2011-09-13 13:07:16 +00:00
Mikko Mononen
54e0e86ff2 Added simple Detour navmesh flood fill and prune tool. 2011-09-11 11:08:55 +00:00
Mikko Mononen
751cf50af8 Sample_TileMesh::buildTileMesh() was returning false instead of 0. 2011-09-04 12:39:53 +00:00
Mikko Mononen
1b6ca5a94a Fixed findStraightPath() to return partial results. Fixed main.cpp FPS throttling. Added initial support for path replanning in DetourCrowd. 2011-08-01 10:48:56 +00:00
Cameron Hart
2c9a3a0b4f Use FindSDL for MSVC builds too. Set the CMAKE_PREFIX_PATH so it looks in the Contrib/SDL directory for it. 2011-07-06 01:25:25 +00:00
Cameron hart
d5729c678b Changed header comments to use Doxygen format and added configuration Doxyfile. 2011-05-06 23:22:08 +00:00
Cameron hart
3cee73cb8c Added CMake files for Linux compilation and removed Makefiles build. CMake build should also work on Windows and MacOS for those who wish to use it. 2011-04-20 10:55:10 +00:00
Mikko Mononen
4ca8b91653 Updated win32 project. 2011-04-19 05:47:55 +00:00
Mikko Mononen
9902efc845 TileCache progress: Moved tile cache to Detour and made proper class for it. Better obstacles and tile layer management. 2011-04-16 07:57:50 +00:00
Mikko Mononen
76444aa747 - Updated win32 project
- Fixed VC compile errors
2011-03-25 10:13:27 +00:00
Mikko Mononen
1de5e2f119 DETOUR API CHANGE!
- Detour Navmesh supports layers
- Allow to disable Navmesh BV-tree
- Added DetourTileCache
- Cleaned up Recast layer code
- Moved portal edge detection to Recast
- Removed polymesh border offset
- Removed lean heighfield
2011-03-25 09:16:38 +00:00
Mikko Mononen
838d0657bd Temp fix for neighbour rendering. 2011-03-15 07:31:52 +00:00