Recast Navigation
Navigation-mesh Toolset for Games
Loading...
Searching...
No Matches
Mesh Struct Reference

#include <InputGeom.h>

Public Member Functions

void reset ()
 
int getVertCount () const
 
int getTriCount () const
 
void readFromObj (char *buf, size_t bufLen)
 

Public Attributes

std::vector< float > verts
 
std::vector< int > tris
 
std::vector< float > normals
 

Member Function Documentation

◆ getTriCount()

int Mesh::getTriCount ( ) const
inline

◆ getVertCount()

int Mesh::getVertCount ( ) const
inline

◆ readFromObj()

void Mesh::readFromObj ( char *  buf,
size_t  bufLen 
)

◆ reset()

void Mesh::reset ( )
inline

Member Data Documentation

◆ normals

std::vector<float> Mesh::normals

◆ tris

std::vector<int> Mesh::tris

◆ verts

std::vector<float> Mesh::verts

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