All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
winding.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  winding_s


#define ON_EPSILON   0.05


typedef struct winding_s winding_t


winding_tBaseWindingForPlane (const struct plane_s *p)
 Create a very large four-point winding with all point on the plane. More...
winding_tClipWinding (winding_t *in, struct plane_s *split, qboolean keepon)
 Clip the winding to the plain. More...
winding_tCopyWinding (const winding_t *w)
 Create a new winding with the same points as the given winding. More...
winding_tCopyWindingReverse (const winding_t *w)
 Create a new winding with the reverse points of the given winding. More...
void DivideWinding (winding_t *in, struct plane_s *split, winding_t **front, winding_t **back)
 Divide a winding by a plane, producing one or two windings. More...
void FreeWinding (winding_t *w)
 Free the winding. More...
winding_tNewWinding (int points)
 Create a new, empty winding with space for the specified number of points. More...
winding_tWindingVectors (const winding_t *w, int unit)
 Create a new "winding" that holds the unit vectors of the edges of the given winding. More...