Saga
Saga Game Engine
Loading...
Searching...
No Matches
Saga::NavMesh Class Reference

#include <navMesh.h>

Classes

struct  LocationInCell
 
struct  Path
 

Public Member Functions

void build (const std::vector< glm::vec3 > &position, const std::vector< glm::ivec3 > &faces)
 
std::optional< PathfindPath (glm::vec3 from, glm::vec3 to)
 
std::optional< LocationInCellgetCell (glm::vec3 pos)
 

Member Function Documentation

◆ build()

void Saga::NavMesh::build ( const std::vector< glm::vec3 > &  position,
const std::vector< glm::ivec3 > &  faces 
)

◆ findPath()

std::optional< NavMesh::Path > Saga::NavMesh::findPath ( glm::vec3  from,
glm::vec3  to 
)
Here is the call graph for this function:

◆ getCell()

std::optional< NavMesh::LocationInCell > Saga::NavMesh::getCell ( glm::vec3  pos)
Here is the call graph for this function:

The documentation for this class was generated from the following files: