QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
T-Junction Repair

Macros

#define MAXWEDGES   0x10000
 
#define MAXWVERTS   0x20000
 
#define NUM_HASH   1024
 
#define T_EPSILON   0.01
 

Typedefs

typedef struct wedge_s wedge_t
 
typedef struct wvert_s wvert_t
 

Functions

void tjunc (struct node_s *headnode)
 Add the edges from the faces in the bsp tree. More...
 

Variables

int degenerdges
 
face_tnewlist
 
int numwedges
 
int numwverts
 
int tjuncfaces
 
int tjuncs
 
wedge_twedge_hash [NUM_HASH]
 
wedge_t wedges [MAXWEDGES]
 
wvert_t wverts [MAXWVERTS]
 

Detailed Description

Macro Definition Documentation

#define MAXWEDGES   0x10000
#define MAXWVERTS   0x20000
#define NUM_HASH   1024
#define T_EPSILON   0.01

Typedef Documentation

typedef struct wedge_s wedge_t
typedef struct wvert_s wvert_t

Function Documentation

void tjunc ( struct node_s headnode)

Add the edges from the faces in the bsp tree.

Parameters
headnodeThe current node in the bsp tree.

Variable Documentation

int degenerdges
face_t* newlist
int numwedges
int numwverts
int tjuncfaces
int tjuncs
wedge_t* wedge_hash[NUM_HASH]
wedge_t wedges[MAXWEDGES]
wvert_t wverts[MAXWVERTS]