Recast Navigation
Navigation-mesh Toolset for Games
CrowdTool.cpp File Reference
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <float.h>
#include "SDL.h"
#include "SDL_opengl.h"
#include <GL/glu.h>
#include "imgui.h"
#include "CrowdTool.h"
#include "InputGeom.h"
#include "Sample.h"
#include "DetourCrowd.h"
#include "DetourDebugDraw.h"
#include "DetourObstacleAvoidance.h"
#include "DetourCommon.h"
#include "DetourNode.h"
#include "SampleInterfaces.h"

Functions

static bool isectSegAABB (const float *sp, const float *sq, const float *amin, const float *amax, float &tmin, float &tmax)
 
static void getAgentBounds (const dtCrowdAgent *ag, float *bmin, float *bmax)
 
static void calcVel (float *vel, const float *pos, const float *tgt, const float speed)
 

Function Documentation

◆ calcVel()

static void calcVel ( float *  vel,
const float *  pos,
const float *  tgt,
const float  speed 
)
static

◆ getAgentBounds()

static void getAgentBounds ( const dtCrowdAgent ag,
float *  bmin,
float *  bmax 
)
static

◆ isectSegAABB()

static bool isectSegAABB ( const float *  sp,
const float *  sq,
const float *  amin,
const float *  amax,
float &  tmin,
float &  tmax 
)
static