76 Commits

Author SHA1 Message Date
ZhihuiLiu
6624e7aef5 fix an index error 2020-11-18 10:54:07 +01:00
Yoann Potinet
65b314a44e Fix shared library build 2020-10-31 10:38:31 +01:00
Jan Haller
e679507845
Improve debug builds for MSVC (#443)
* Add -d suffix for debug libraries

* Export PDB files for each Debug library
2020-10-30 10:41:54 +01:00
Alexey Sokolov
9337e12418
Several fixes for make install (#437)
* Don't install test

* Install to the correct directory (e.g. lib64)

* Install includes to /usr/include/recastnavigation
2020-09-24 10:08:03 +02:00
elsid
7bfd9a1d4c Add aliases with namespace for library build targets 2018-10-31 23:13:42 +01:00
elsid
2b31aa9d79 Bind include directories to library build target 2018-10-31 23:13:42 +01:00
elsid
658b32784f Add dependencies between libraries to allow linker to resolve symbols
when build dynamic libraries
2018-10-31 21:24:45 +01:00
Roman Siromakha
4566d01c8f Support build by CMake (#310) 2018-04-21 00:16:52 +02:00
aymarfisherman
7cca61dc41 Renamed all instances of 'extents' to 'halfExtents' (#279) 2017-08-20 17:05:51 +02:00
Graham Pentheny
95658e7b6c Added eof newlines. Fixes #198 2016-03-30 13:48:05 -04:00
Ben Hymers
a2730f9fdd Fix warnings; initialise all uninitialised class members 2016-02-26 08:40:53 +00:00
Graham Pentheny
b7a83e0afb Fixed rule of 3 violations in many places.
* Added virtual qualifier to a few destructors in subclasses.
* Removed a few empty destructors that didn't need to be explicitly defined.
* Fixed a few typos
* Removed unnecessary empty virtual destructors in some classes with parent's who derrived from a class with a virtual destructor
2016-01-20 11:57:32 -05:00
Graham Pentheny
66c6060e95 Fix a bunch of compiler warnings
* Removed some unused vars
* Fixed some signed/unsigned comparison mismatch warnings
* Cast some int's to size_t when appropriate
* Removed some redundant casts
* silenced warnings about implicit conversions that lose precision
* changed origMousePos to an array of ints to match mousePos
2016-01-10 22:41:38 -05:00
Graham Pentheny
b9804c5210 Better documentation for a few private fields in dtCrowdAgent as discussed in PR #110 2015-12-16 23:37:41 -05:00
Krom Stern
4d3f406546 Fix as discussed in PR#111
Typo fix
2015-12-16 19:28:27 +03:00
Leif Gruenwoldt
2ec9270b34 reset agent desired velocity in resetMoveTarget
Otherwise, if velocity was non zero at time resetMoveTarget is called the agent would continue to move indefinitely at that velocity (a straight line) which was not the intended behaviour.

As discussed in https://groups.google.com/forum/#!topic/recastnavigation/QoLNGz5o6e8
2015-05-01 13:49:12 -04:00
grahamboree
45b36f4d75 Removed redundant dtSqrt function and replaced calls to it with dtMathSqrtf 2015-01-03 16:00:00 -05:00
grahamboree
a792998286 Replaced math function macros with inline functions. 2015-01-02 18:10:45 -05:00
ZhongTang
dc5f95eafa Fixed: a memory corrupt in DetourCrowd 2014-12-30 14:11:41 +08:00
Mikko Mononen
2797ff1a43 Merge pull request #60 from Kromster80/RemovingStrayCode
Removing stray code
2014-12-13 13:49:30 +02:00
Mikko Mononen
3b0dc620e0 Merge pull request #57 from Kromster80/SyncVarName
Sync var name
2014-12-13 13:47:52 +02:00
Kromster80
7a57eb031f Update DetourProximityGrid.cpp 2014-12-13 11:40:53 +03:00
Kromster80
48f20f08f2 Update DetourProximityGrid.h 2014-12-13 11:40:30 +03:00
Kromster80
a83d2a0c07 Leftovers?
"Looks like they are left overs from some code refactoring. --mikko"
2014-12-13 11:10:20 +03:00
Kromster80
f7d6717081 Update DetourProximityGrid.h 2014-12-08 16:00:26 +03:00
Kromster80
6571da958c Synced Header and CPP variable names 2014-12-07 18:19:32 +03:00
Kromster80
6799d49b1a Extra verbosity for var init 2014-12-07 14:11:46 +03:00
axelrodR
0122231ccf bug fix in the original code (div by 0); minPenalty check missed rejecting states. 2014-06-30 00:49:14 +03:00
axelrodR
61f5e67f1b changed the search pattern order
from: 1,2,3,4,5...   o'clock
to:   1,11,2,10,3,9  o'clock
2014-06-29 15:37:32 +03:00
axelrodR
14c8703dbd forgot the header file... 2014-06-29 15:06:01 +03:00
axelrodR
6598ac26ca changes to improve readability 2014-06-29 13:39:07 +03:00
axelrodR
0a49552c25 optimized the pattern building to use rotations (1MUL+2ADD) instead of cosf, sinf 2014-06-29 12:54:12 +03:00
axelrodR
99d1e791ab Optimizing dtObstacleAvoidanceQuery::processSample. If the penalty is already worse than former samples penalty - exit the function 2014-06-26 21:45:56 +03:00
axelrodR
a246038b2a Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-05-27 23:30:28 +03:00
Mikko Mononen
d477061f83 - fixed missing index in calls to get query filter
- fixed bug in dtCrowd:addAgent getNearestPolygon()
2014-05-24 18:48:43 +03:00
Hans Gaiser
973f0e2c2b Change active type from unsigned char to bool 2014-04-27 18:57:03 +02:00
Hans Gaiser
652317f9e6 Add commented improvements 2014-04-27 18:25:48 +02:00
Hans Gaiser
5290c8aac4 Add partial path result status for dtCrowdAgent 2014-04-27 17:34:36 +02:00
axelrodR
9b73c5cf51 Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-04-23 14:53:04 +03:00
axelrodR
a7f1d5e6a4 spelling mistakes 2014-04-23 14:52:54 +03:00
JimmyJames707
52efad386b query filter for each agent type
This has the changes Mikko requested
2014-04-11 22:36:00 +10:00
JimmyJames707
e29b2c8a51 query filter for each agent type
This has the changes Mikko requested
2014-04-11 22:33:33 +10:00
JimmyJames707
907b67bd18 query filter for each agent type with changes 2014-04-11 22:17:21 +10:00
JimmyJames707
ce552fd578 Revert "query filter for each agent type with changes"
This reverts commit b5f70b51a5e627f98a6f5d28aa5704afa9cdff6a.
2014-04-11 21:50:58 +10:00
JimmyJames707
b5f70b51a5 query filter for each agent type with changes 2014-04-11 21:45:42 +10:00
JimmyJames707
0f2b03a8c0 I would like to submit a query filter for each agent type:
https://groups.google.com/forum/#!searchin/recastnavigation/dtQueryFilter|sort:relevance|spell:false/recastnavigation/t-rFg2Ku9IY/PJNNkCjARccJ

Search on
queryFilterType and m_filters to see the changes.

Also in this code there are bugfixes, that have already been submitted
as issues. They can be ignored.

Possible bug with requestMoveVelocity and navmesh regeneration
https://groups.google.com/forum/#!topic/recastnavigation/E6khmmKJkzk

Bug fix for No guard on dtCrowd::getAgent?
https://groups.google.com/forum/#!topic/recastnavigation/yJ1EEVbOaKg
2014-04-11 16:50:57 +10: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
be4d6fc180 Updated build system to premake4 2013-10-01 19:53:18 +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