mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: add notes to duplicate functions
This commit is contained in:
parent
50d3e1dc32
commit
aba31e5a75
@ -74,7 +74,7 @@ static int convexhull(const float* pts, int npts, int* out)
|
||||
return i;
|
||||
}
|
||||
|
||||
static int pointInPoly(int nvert, const float* verts, const float* p)
|
||||
static int pointInPoly(int nvert, const float* verts, const float* p) // todo(amos) deduplicate.
|
||||
{
|
||||
int i, j, c = 0;
|
||||
for (i = 0, j = nvert-1; i < nvert; j = i++)
|
||||
|
@ -350,7 +350,7 @@ void rcMarkBoxArea(rcContext* ctx, const float* bmin, const float* bmax, unsigne
|
||||
}
|
||||
|
||||
|
||||
static int pointInPoly(int nvert, const float* verts, const float* p)
|
||||
static int pointInPoly(int nvert, const float* verts, const float* p) // todo(amos) deduplicate.
|
||||
{
|
||||
int i, j, c = 0;
|
||||
for (i = 0, j = nvert-1; i < nvert; j = i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user