Minor typo and style changes

This commit is contained in:
Ben Hymers 2016-02-16 14:12:50 +00:00
parent 40a88dae73
commit c208fd332c
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ int dtNavMesh::findConnectingPolys(const float* va, const float* vb,
if (!tile) return 0;
float amin[2], amax[2];
calcSlabEndPoints(va,vb, amin,amax, side);
calcSlabEndPoints(va, vb, amin, amax, side);
const float apos = getSlabCoord(va, side);
// Remove links pointing to 'side' and compact the links array.

View File

@ -777,7 +777,7 @@ static bool buildPolyDetail(rcContext* ctx, const float* in, const int nin,
// Tessellate the base mesh.
// We're using the triangulateHull instead of delaunayHull as it tends to
// create a bit better triangulation for long thing triangles when there
// create a bit better triangulation for long thin triangles when there
// are no internal points.
triangulateHull(nverts, verts, nhull, hull, tris);