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

Macros

#define CONTINUOUS_EPSILON   0.001
 

Functions

face_tFreeMergeListScraps (face_t *merged)
 Remove merged out faces from the list. More...
 
void MergeAll (surface_t *surfhead)
 Process the faces on a list of suraces. More...
 
face_tMergeFaceToList (face_t *face, face_t *list)
 Add a face to the list of faces, doing any possible merging. More...
 
void MergePlaneFaces (surface_t *plane)
 Process the faces on a surface, searching for mergable faces. More...
 

Variables

qboolean mergedebug
 

Detailed Description

Macro Definition Documentation

#define CONTINUOUS_EPSILON   0.001

Function Documentation

face_t * FreeMergeListScraps ( face_t merged)

Remove merged out faces from the list.

Removes faces that MergeFaceToList() wanted to remove but couldn't due to its implementation.

Parameters
mergedThe list of merged faces.
Returns
The cleaned list.
Note
The list is reversed in the process.
Todo:
Reimplement MergeFaceToList() such that this function is no longer needed.
void MergeAll ( surface_t surfhead)

Process the faces on a list of suraces.

Parameters
surfheadThe list of surfaces.
face_t * MergeFaceToList ( face_t face,
face_t list 
)

Add a face to the list of faces, doing any possible merging.

Parameters
faceThe face to add to the list.
listThe list to which the face will be added.
Returns
The list with the plane added or merged to other faces in the list.
void MergePlaneFaces ( surface_t plane)

Process the faces on a surface, searching for mergable faces.

Parameters
planeThe surface of which the faces will be processed.

Variable Documentation

qboolean mergedebug