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

Functions

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

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 callback 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