Minor typo and style changes
This commit is contained in:
parent
40a88dae73
commit
c208fd332c
@ -304,7 +304,7 @@ int dtNavMesh::findConnectingPolys(const float* va, const float* vb,
|
|||||||
if (!tile) return 0;
|
if (!tile) return 0;
|
||||||
|
|
||||||
float amin[2], amax[2];
|
float amin[2], amax[2];
|
||||||
calcSlabEndPoints(va,vb, amin,amax, side);
|
calcSlabEndPoints(va, vb, amin, amax, side);
|
||||||
const float apos = getSlabCoord(va, side);
|
const float apos = getSlabCoord(va, side);
|
||||||
|
|
||||||
// Remove links pointing to 'side' and compact the links array.
|
// Remove links pointing to 'side' and compact the links array.
|
||||||
|
@ -777,7 +777,7 @@ static bool buildPolyDetail(rcContext* ctx, const float* in, const int nin,
|
|||||||
|
|
||||||
// Tessellate the base mesh.
|
// Tessellate the base mesh.
|
||||||
// We're using the triangulateHull instead of delaunayHull as it tends to
|
// 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.
|
// are no internal points.
|
||||||
triangulateHull(nverts, verts, nhull, hull, tris);
|
triangulateHull(nverts, verts, nhull, hull, tris);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user