Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
prefabmesh Struct Reference

Classes

struct  vertex
 

Public Member Functions

 prefabmesh ()
 
int addvert (const vertex &v)
 
int addvert (const vec &pos, const bvec &norm)
 
void setup (prefab &p)
 

Public Attributes

int table [SIZE]
 
vector< vertexverts
 
vector< int > chain
 
vector< ushorttris
 

Static Public Attributes

static const int SIZE = 1<<9
 

Class Documentation

struct prefabmesh::vertex
Class Members
bvec4 norm
vec pos

Constructor & Destructor Documentation

prefabmesh::prefabmesh ( )
inline

Member Function Documentation

int prefabmesh::addvert ( const vertex v)
inline
int prefabmesh::addvert ( const vec pos,
const bvec norm 
)
inline
void prefabmesh::setup ( prefab p)
inline

Member Data Documentation

vector<int> prefabmesh::chain
const int prefabmesh::SIZE = 1<<9
static
int prefabmesh::table[SIZE]
vector<ushort> prefabmesh::tris

Referenced by genprefabmesh().

vector<vertex> prefabmesh::verts

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