Commit Graph

16 Commits

Author SHA1 Message Date
Sergey Sharybin
4e9381bc35 Fixed for navmesh on FreeBSD. Oatch by sambler, thanks! 2011-09-10 14:55:14 +00:00
Sergey Sharybin
bdd4aa27b0 Another set of fixes for recats: osx uses different order of arguments for sort_r
and it's callback.

Also do not use char constants like 'NAVM' which is casting to int.
And added defautl section to switch in KX_NavMeshObject::DrawNavMesh.
2011-09-10 14:12:15 +00:00
Campbell Barton
fb4abf2e41 fixed linking with CMake 2011-09-10 03:42:45 +00:00
Campbell Barton
0128218254 recast and detour patch now builds again with GCC
- rearrange structs to work for 64bit
- define all vars before goto's
- ifdefs for qsort_r/qsort_s
- dont cast pointers to int only for NULL checks
- dont printf STR_String directly, get the char pointer from it

also minor change to gpu py module, no need to pass empty tuple to PyObject_CallObject, can just be NULL
2011-09-10 03:07:26 +00:00
Nick Samarin
5ceb8b3d35 synched with trunk at revision 37212 2011-06-05 18:51:00 +00:00
Nick Samarin
ea7353dcd7 synched with trunk at revision 34793 2011-02-16 16:47:48 +00:00
Benoit Bolsee
a52f51df27 Recast: add SCons build system. 2010-09-01 21:43:22 +00:00
Benoit Bolsee
0bca249298 Add CMake build system on Recast&Navigation branch 2010-08-31 22:08:01 +00:00
Benoit Bolsee
b6b277cac0 Detour: remove unused files 2010-08-31 21:40:11 +00:00
Benoit Bolsee
2b4c0cd43b Recast: remove unused files 2010-08-31 21:32:58 +00:00
Nick Samarin
a2372308d7 integrated adaptive sampling algorithm for obstacle avoidance 2010-08-04 19:32:37 +00:00
Nick Samarin
dbc8d4274f - moved navmesh conversion code to ED_Editors project (ED_navmesh_conversion.h and navmesh_conversion.cpp files)
- added new custom data layer CD_Recast
2010-07-30 13:02:32 +00:00
Nick Samarin
870e0e37e5 - fixed bug in steering actuator: calculate 2d distance to target for seeking and fleeing
- added possibility to add navmesh modifier manually in order to transform manually created mesh to navigation mesh (with navigation polygons data layer)
- added possibility to use existed navigation mesh object for navmesh generation (so new object won't be created, but existed object will be updated)
2010-07-29 14:06:48 +00:00
Nick Samarin
14171324b7 - reworked conversion to dtStatNavMesh in KX_NavMeshObject to support navigation mesh editing 2010-07-28 19:43:05 +00:00
Nick Samarin
56784fcde9 added converting mesh of game object to Detour StatNavMesh (game object is defined by property "navmesh") 2010-05-19 01:42:17 +00:00
Nick Samarin
34058faa0e added RecastNavigation library as extern project 2010-05-19 01:01:21 +00:00