Use correct array size for facets in cm_patch.c

This commit is contained in:
Zack Middleton 2015-09-17 18:46:01 -05:00
parent f860a753e0
commit 5e09f20cd4

View file

@ -418,7 +418,7 @@ static int numPlanes;
static patchPlane_t planes[MAX_PATCH_PLANES];
static int numFacets;
static facet_t facets[MAX_PATCH_PLANES]; //maybe MAX_FACETS ??
static facet_t facets[MAX_FACETS];
#define NORMAL_EPSILON 0.0001
#define DIST_EPSILON 0.02