Recast Navigation
Navigation-mesh Toolset for Games
RecastAssert.cpp File Reference
#include "RecastAssert.h"

Functions

void rcAssertFailSetCustom (rcAssertFailFunc *assertFailFunc)
 Sets the base custom assertion failure function to be used by Recast. More...
 
rcAssertFailFuncrcAssertFailGetCustom ()
 Gets the base custom assertion failure function to be used by Recast. More...
 

Variables

static rcAssertFailFuncsRecastAssertFailFunc = 0
 

Function Documentation

◆ rcAssertFailGetCustom()

rcAssertFailFunc* rcAssertFailGetCustom ( )

Gets the base custom assertion failure function to be used by Recast.

◆ rcAssertFailSetCustom()

void rcAssertFailSetCustom ( rcAssertFailFunc assertFailFunc)

Sets the base custom assertion failure function to be used by Recast.

Parameters
[in]assertFailFuncThe function to be used in case of failure of dtAssert

Variable Documentation

◆ sRecastAssertFailFunc

rcAssertFailFunc* sRecastAssertFailFunc = 0
static