All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
verthash Struct Reference
Inheritance diagram for verthash:

Public Member Functions

 verthash ()
void clearverts ()
int addvert (const vertex &v)
int addvert (const vec &pos, const vec2 &tc=vec2(0, 0), const svec2 &lm=svec2(0, 0), const bvec &norm=bvec(128, 128, 128), const bvec4 &tangent=bvec4(128, 128, 128, 128))

Public Attributes

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

Static Public Attributes

static const int SIZE = 1<<13

Constructor & Destructor Documentation

verthash::verthash ( )

References clearverts().

Member Function Documentation

int verthash::addvert ( const vertex v)
int verthash::addvert ( const vec pos,
const vec2 tc = vec2(0, 0),
const svec2 lm = svec2(0, 0),
const bvec norm = bvec(128, 128, 128),
const bvec4 tangent = bvec4(128, 128, 128, 128) 
void verthash::clearverts ( )

Member Data Documentation

vector<int> verthash::chain

Referenced by addvert(), and clearverts().

const int verthash::SIZE = 1<<13

Referenced by addvert().

int verthash::table[SIZE]

Referenced by addvert(), and clearverts().

vector<vertex> verthash::verts

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