Skip to content

Commit 763a464

Browse files
committed
update recastnavigation to 1.6.0
1 parent a6d23ef commit 763a464

File tree

17 files changed

+6962
-6872
lines changed

17 files changed

+6962
-6872
lines changed

AmeisenNavigation.Server/src/Main.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <iostream>
1212
#include <mutex>
1313

14-
constexpr auto AMEISENNAV_VERSION = "1.8.1.0";
14+
constexpr auto AMEISENNAV_VERSION = "1.8.2.0";
1515

1616
constexpr auto VEC3_SIZE = sizeof(float) * 3;
1717

recastnavigation/Detour/Include/DetourAlloc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
/// memory is expected to be used.
2626
enum dtAllocHint
2727
{
28-
DT_ALLOC_PERM, ///< Memory persist after a function call.
29-
DT_ALLOC_TEMP ///< Memory used temporarily within a function.
28+
DT_ALLOC_PERM, ///< Memory persist after a function call.
29+
DT_ALLOC_TEMP ///< Memory used temporarily within a function.
3030
};
3131

3232
/// A memory allocation function.
@@ -44,7 +44,7 @@ typedef void (dtFreeFunc)(void* ptr);
4444
/// Sets the base custom allocation functions to be used by Detour.
4545
/// @param[in] allocFunc The memory allocation function to be used by #dtAlloc
4646
/// @param[in] freeFunc The memory de-allocation function to be used by #dtFree
47-
void dtAllocSetCustom(dtAllocFunc* allocFunc, dtFreeFunc* freeFunc);
47+
void dtAllocSetCustom(dtAllocFunc *allocFunc, dtFreeFunc *freeFunc);
4848

4949
/// Allocates a memory block.
5050
/// @param[in] size The size, in bytes of memory, to allocate.

recastnavigation/Detour/Include/DetourAssert.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
#ifdef NDEBUG
2626

27-
// From http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
28-
# define dtAssert(x) do { (void)sizeof(x); } while((void)(__LINE__==-1),false)
27+
// From https://web.archive.org/web/20210117002833/http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
28+
# define dtAssert(x) do { (void)sizeof(x); } while((void)(__LINE__==-1),false)
2929

3030
#else
3131

@@ -38,12 +38,12 @@ typedef void (dtAssertFailFunc)(const char* expression, const char* file, int li
3838

3939
/// Sets the base custom assertion failure function to be used by Detour.
4040
/// @param[in] assertFailFunc The function to be invoked in case of failure of #dtAssert
41-
void dtAssertFailSetCustom(dtAssertFailFunc* assertFailFunc);
41+
void dtAssertFailSetCustom(dtAssertFailFunc *assertFailFunc);
4242

4343
/// Gets the base custom assertion failure function to be used by Detour.
4444
dtAssertFailFunc* dtAssertFailGetCustom();
4545

46-
# include <assert.h>
46+
# include <assert.h>
4747
# define dtAssert(expression) \
4848
{ \
4949
dtAssertFailFunc* failFunc = dtAssertFailGetCustom(); \

0 commit comments

Comments
 (0)