Recast Navigation
Navigation-mesh Toolset for Games
main.cpp File Reference
#include <cstdio>
#include <cmath>
#include "SDL.h"
#include "SDL_opengl.h"
#include <GL/glu.h>
#include <vector>
#include <string>
#include "imgui.h"
#include "imguiRenderGL.h"
#include "Recast.h"
#include "RecastDebugDraw.h"
#include "InputGeom.h"
#include "TestCase.h"
#include "Filelist.h"
#include "Sample_SoloMesh.h"
#include "Sample_TileMesh.h"
#include "Sample_TempObstacles.h"
#include "Sample_Debug.h"

Classes

struct  SampleItem
 

Functions

SamplecreateSolo ()
 
SamplecreateTile ()
 
SamplecreateTempObstacle ()
 
SamplecreateDebug ()
 
int main (int, char **)
 

Variables

static SampleItem g_samples []
 
static const int g_nsamples = sizeof(g_samples) / sizeof(SampleItem)
 

Function Documentation

◆ createDebug()

Sample* createDebug ( )

◆ createSolo()

Sample* createSolo ( )

◆ createTempObstacle()

Sample* createTempObstacle ( )

◆ createTile()

Sample* createTile ( )

◆ main()

int main ( int  ,
char **   
)

Variable Documentation

◆ g_nsamples

const int g_nsamples = sizeof(g_samples) / sizeof(SampleItem)
static

◆ g_samples

SampleItem g_samples[]
static
Initial value:
=
{
{ createSolo, "Solo Mesh" },
{ createTile, "Tile Mesh" },
{ createTempObstacle, "Temp Obstacles" },
}
Sample * createTempObstacle()
Definition: main.cpp:61
Sample * createSolo()
Definition: main.cpp:59
Sample * createTile()
Definition: main.cpp:60