Skip to content

Commit

Permalink
[upstream] Disable calls to isfinite when compiling with -ffast-math …
Browse files Browse the repository at this point in the history
…(recastnavigation 747)

- recastnavigation/recastnavigation#747
  • Loading branch information
ikpil committed Dec 31, 2024
1 parent 6c10c0b commit 941a9f5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/DotRecast.Detour.TileCache/DtTileCacheBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1395,17 +1395,6 @@ public static void RemoveVertex(DtTileCachePolyMesh mesh, int rem, int maxTris)
{
// Count number of polygons to remove.
int maxVertsPerPoly = mesh.nvp;
int numRemovedVerts = 0;
for (int i = 0; i < mesh.npolys; ++i)
{
int p = i * maxVertsPerPoly * 2;
int nv = CountPolyVerts(mesh.polys, p, maxVertsPerPoly);
for (int j = 0; j < nv; ++j)
{
if (mesh.polys[p + j] == rem)
numRemovedVerts++;
}
}

int nedges = 0;
List<int> edges = new List<int>();
Expand Down

0 comments on commit 941a9f5

Please sign in to comment.