Ben Hymers
a2730f9fdd
Fix warnings; initialise all uninitialised class members
2016-02-26 08:40:53 +00: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
Krom Stern
4d3f406546
Fix as discussed in PR#111
...
Typo fix
2015-12-16 19:28:27 +03: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
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
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
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
e6b1d141d2
Fixed warnings when compiling with -Wshadow.
2012-02-22 17:25:46 +00:00
Mikko Mononen
5b4f8b6047
Allow different obstacle avoidance parameters. Changed update flags to be per agent, not per crowd. Added optional separation to steering. Added UI to change obstacle avoidance quality.
2011-02-06 12:52:08 +00:00
Mikko Mononen
e70a4664c9
Added multisampling. Moved obstacle avoidance to DetourCrowd.
2011-01-29 15:39:42 +00:00