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

Go to the source code of this file.

Macros

#define TEXTURE_OFFSET_EQUAL_EPSILON   0.005
 
#define TEXTURE_VECTOR_EQUAL_EPSILON   0.001
 
#define SNAP_FLOAT_TO_INT   256
 
#define SNAP_INT_TO_FLOAT   (1.0/SNAP_FLOAT_TO_INT)
 

Functions

mapTri_tTriListForSide (const side_t *s, const idWinding *w)
 
void ClipSidesByTree (uEntity_t *e)
 
void ClipTriIntoTree_r (idWinding *w, mapTri_t *originalTri, uEntity_t *e, node_t *node)
 
void AddMapTriToAreas (mapTri_t *tri, uEntity_t *e)
 
void PutPrimitivesInAreas (uEntity_t *e)
 
void Prelight (uEntity_t *e)
 

Macro Definition Documentation

#define SNAP_FLOAT_TO_INT   256

Definition at line 150 of file usurface.cpp.

#define SNAP_INT_TO_FLOAT   (1.0/SNAP_FLOAT_TO_INT)

Definition at line 151 of file usurface.cpp.

#define TEXTURE_OFFSET_EQUAL_EPSILON   0.005

Definition at line 35 of file usurface.cpp.

#define TEXTURE_VECTOR_EQUAL_EPSILON   0.001

Definition at line 36 of file usurface.cpp.

Function Documentation

void AddMapTriToAreas ( mapTri_t tri,
uEntity_t e 
)

Definition at line 538 of file usurface.cpp.

void ClipSidesByTree ( uEntity_t e)

Definition at line 324 of file usurface.cpp.

void ClipTriIntoTree_r ( idWinding w,
mapTri_t originalTri,
uEntity_t e,
node_t node 
)

Definition at line 369 of file usurface.cpp.

void Prelight ( uEntity_t e)

Definition at line 996 of file usurface.cpp.

void PutPrimitivesInAreas ( uEntity_t e)

Definition at line 589 of file usurface.cpp.

mapTri_t* TriListForSide ( const side_t s,
const idWinding w 
)

Definition at line 153 of file usurface.cpp.