29 #include "../idlib/precompiled.h"
34 #define MAX_POLYTOPE_PLANES 6
48 int numVerts, numIndexes;
56 for ( i = 0; i < numPlanes; i++ ) {
61 for ( j = 0; j < numPlanes; j++ ) {
83 for ( i = 0; i < numPlanes; i++ ) {
srfTriangles_t * R_PolytopeSurface(int numPlanes, const idPlane *planes, idWinding **windings)
#define MAX_POLYTOPE_PLANES
srfTriangles_t * R_AllocStaticTriSurf(void)
int GetNumPoints(void) const
GLubyte GLubyte GLubyte GLubyte w
void R_BoundTriSurf(srfTriangles_t *tri)
void BaseForPlane(const idVec3 &normal, const float dist)
void R_AllocStaticTriSurfIndexes(srfTriangles_t *tri, int numIndexes)
virtual void Error(const char *fmt,...) id_attribute((format(printf
bool ClipInPlace(const idPlane &plane, const float epsilon=ON_EPSILON, const bool keepOn=false)
void R_AllocStaticTriSurfVerts(srfTriangles_t *tri, int numVerts)