MCPcopy Create free account
hub / github.com/JACoders/OpenJK / FreeWinding

Function FreeWinding

code/qcommon/cm_polylib.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void FreeWinding (winding_t *w)
66{
67 if (*(unsigned *)w == 0xdeaddead)
68 Com_Error (ERR_FATAL, "FreeWinding: freed a freed winding");
69 *(unsigned *)w = 0xdeaddead;
70
71 c_active_windings--;
72 Z_Free (w);
73}
74
75void WindingBounds (winding_t *w, vec3_t mins, vec3_t maxs)
76{

Callers 3

CM_ValidateFacetFunction · 0.70
CM_AddFacetBevelsFunction · 0.70
ChopWindingInPlaceFunction · 0.70

Calls 2

Com_ErrorFunction · 0.70
Z_FreeFunction · 0.70

Tested by

no test coverage detected