tristrip Struct Reference
#include <tristrip.h>
List of all members.
|
Classes |
| struct | drawcall |
| struct | edge |
| struct | triangle |
Public Types |
| enum | { UNUSED = 0xFFFE,
REMOVED = 0xFFFF
} |
Public Member Functions |
| template<class T > |
| void | addtriangles (const T *tris, int numtris) |
| void | findconnectivity () |
| void | removeconnectivity (ushort i) |
| bool | remaining () const |
| ushort | leastconnected () |
| int | findedge (const triangle &from, const triangle &to, ushort v=UNUSED) |
| void | removenodes (int i) |
| ushort | nexttriangle (triangle &tri, bool &nextswap, ushort v1=UNUSED, ushort v2=UNUSED) |
| void | buildstrip (vector< ushort > &strip, bool reverse=false, bool prims=false) |
| void | buildstrips (vector< ushort > &strips, vector< drawcall > &draws, bool prims=true, bool degen=false) |
Public Attributes |
| vector< triangle > | triangles |
| vector< ushort > | connectivity [4] |
| vector< uchar > | nodes |
Member Enumeration Documentation
Member Function Documentation
template<class T >
| void tristrip::addtriangles |
( |
const T * |
tris, |
|
|
int |
numtris | |
|
) |
| | [inline] |
| void tristrip::buildstrip |
( |
vector< ushort > & |
strip, |
|
|
bool |
reverse = false, |
|
|
bool |
prims = false | |
|
) |
| | [inline] |
| void tristrip::findconnectivity |
( |
|
) |
[inline] |
| ushort tristrip::leastconnected |
( |
|
) |
[inline] |
| bool tristrip::remaining |
( |
|
) |
const [inline] |
| void tristrip::removeconnectivity |
( |
ushort |
i |
) |
[inline] |
| void tristrip::removenodes |
( |
int |
i |
) |
[inline] |
Member Data Documentation
The documentation for this struct was generated from the following file:
- R:/projects/actioncube/_svn/trunk/ac/source/src/tristrip.h