mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
Use correct array size for facets in cm_patch.c
This commit is contained in:
parent
f860a753e0
commit
5e09f20cd4
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ static int numPlanes;
|
||||||
static patchPlane_t planes[MAX_PATCH_PLANES];
|
static patchPlane_t planes[MAX_PATCH_PLANES];
|
||||||
|
|
||||||
static int numFacets;
|
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 NORMAL_EPSILON 0.0001
|
||||||
#define DIST_EPSILON 0.02
|
#define DIST_EPSILON 0.02
|
||||||
|
|
Loading…
Reference in a new issue