Recast Navigation
Navigation-mesh Toolset for Games
InputGeom.cpp File Reference
#include <math.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <algorithm>
#include "Recast.h"
#include "InputGeom.h"
#include "ChunkyTriMesh.h"
#include "MeshLoaderObj.h"
#include "DebugDraw.h"
#include "RecastDebugDraw.h"
#include "DetourNavMesh.h"
#include "Sample.h"

Functions

static bool intersectSegmentTriangle (const float *sp, const float *sq, const float *a, const float *b, const float *c, float &t)
 
static char * parseRow (char *buf, char *bufEnd, char *row, int len)
 
static bool isectSegAABB (const float *sp, const float *sq, const float *amin, const float *amax, float &tmin, float &tmax)
 

Function Documentation

◆ intersectSegmentTriangle()

static bool intersectSegmentTriangle ( const float *  sp,
const float *  sq,
const float *  a,
const float *  b,
const float *  c,
float &  t 
)
static

◆ isectSegAABB()

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

◆ parseRow()

static char* parseRow ( char *  buf,
char *  bufEnd,
char *  row,
int  len 
)
static