doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Functions
tritjunction.cpp File Reference
#include "../../../idlib/precompiled.h"
#include "dmap.h"

Go to the source code of this file.

Classes

struct  hashVert_s
 

Macros

#define SNAP_FRACTIONS   32
 
#define VERTEX_EPSILON   ( 1.0 / SNAP_FRACTIONS )
 
#define COLINEAR_EPSILON   ( 1.8 * VERTEX_EPSILON )
 
#define HASH_BINS   16
 

Typedefs

typedef struct hashVert_s hashVert_t
 

Functions

struct hashVert_sGetHashVert (idVec3 &v)
 
void HashTriangles (optimizeGroup_t *groupList)
 
void FreeTJunctionHash (void)
 
int CountGroupListTris (const optimizeGroup_t *groupList)
 
void FixAreaGroupsTjunctions (optimizeGroup_t *groupList)
 
void FixEntityTjunctions (uEntity_t *e)
 
void FixGlobalTjunctions (uEntity_t *e)
 

Macro Definition Documentation

#define COLINEAR_EPSILON   ( 1.8 * VERTEX_EPSILON )

Definition at line 86 of file tritjunction.cpp.

#define HASH_BINS   16

Definition at line 88 of file tritjunction.cpp.

#define SNAP_FRACTIONS   32

Definition at line 80 of file tritjunction.cpp.

#define VERTEX_EPSILON   ( 1.0 / SNAP_FRACTIONS )

Definition at line 84 of file tritjunction.cpp.

Typedef Documentation

typedef struct hashVert_s hashVert_t

Function Documentation

int CountGroupListTris ( const optimizeGroup_t groupList)

Definition at line 450 of file tritjunction.cpp.

void FixAreaGroupsTjunctions ( optimizeGroup_t groupList)

Definition at line 466 of file tritjunction.cpp.

void FixEntityTjunctions ( uEntity_t e)

Definition at line 517 of file tritjunction.cpp.

void FixGlobalTjunctions ( uEntity_t e)

Definition at line 531 of file tritjunction.cpp.

void FreeTJunctionHash ( void  )

Definition at line 273 of file tritjunction.cpp.

struct hashVert_s* GetHashVert ( idVec3 v)

Definition at line 109 of file tritjunction.cpp.

void HashTriangles ( optimizeGroup_t groupList)

Definition at line 216 of file tritjunction.cpp.