Use correct array size for facets in cm_patch.c
This commit is contained in:
1 parent
f860a753e0
commit
5e09f20cd4
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user