Fixed Issue 26: RecastMeshDetail.cpp: updateLeftFace: t parameter is unused.
This commit is contained in:
parent
113ba0aaae
commit
8d146ade90
@ -271,9 +271,9 @@ static int addEdge(int* edges, int& nedges, const int maxEdges, int s, int t, in
|
|||||||
|
|
||||||
static void updateLeftFace(int* e, int s, int t, int f)
|
static void updateLeftFace(int* e, int s, int t, int f)
|
||||||
{
|
{
|
||||||
if (e[0] == s && e[2] == UNDEF)
|
if (e[0] == s && e[1] == t && e[2] == UNDEF)
|
||||||
e[2] = f;
|
e[2] = f;
|
||||||
else if (e[1] == s && e[3] == UNDEF)
|
else if (e[1] == s && e[0] == t && e[3] == UNDEF)
|
||||||
e[3] = f;
|
e[3] = f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user