Recast Navigation  1.0.35
RecastLayers.cpp File Reference
#include <float.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "Recast.h"
#include "RecastAlloc.h"
#include "RecastAssert.h"

Classes

struct  rcLayerRegion
 
struct  rcLayerSweepSpan
 

Macros

#define _USE_MATH_DEFINES
 

Functions

static void addUnique (unsigned char *a, unsigned char &an, unsigned char v)
 
static bool contains (const unsigned char *a, const unsigned char an, const unsigned char v)
 
bool overlapRange (const unsigned short amin, const unsigned short amax, const unsigned short bmin, const unsigned short bmax)
 
bool rcBuildHeightfieldLayers (rcContext *ctx, rcCompactHeightfield &chf, const int borderSize, const int walkableHeight, rcHeightfieldLayerSet &lset)
 Builds a layer set from the specified compact heightfield. More...
 

Variables

static const int RC_MAX_LAYERS = RC_NOT_CONNECTED
 
static const int RC_MAX_NEIS = 16
 

Macro Definition Documentation

#define _USE_MATH_DEFINES

Function Documentation

static void addUnique ( unsigned char *  a,
unsigned char &  an,
unsigned char  v 
)
static
static bool contains ( const unsigned char *  a,
const unsigned char  an,
const unsigned char  v 
)
static
bool overlapRange ( const unsigned short  amin,
const unsigned short  amax,
const unsigned short  bmin,
const unsigned short  bmax 
)
inline

Variable Documentation

const int RC_MAX_LAYERS = RC_NOT_CONNECTED
static
const int RC_MAX_NEIS = 16
static