MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetTempPoint

Function GetTempPoint

renderer/HardwareClipper.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37g3Point *GetTempPoint(void) {
38 ASSERT(free_point_num < MAX_POINTS_IN_POLY);
39
40 g3Point *p = free_points[free_point_num++];
41 p->p3_flags = PF_TEMP_POINT;
42 return p;
43}
44
45void FreeTempPoint(g3Point *p) {
46 if (free_point_num < 1) {

Callers 3

ClipFarEdgeFunction · 0.85
ClipCustomEdgeFunction · 0.85
ClipEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected