swordlegend / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

Convex poly tool always removes last shape #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ConvexVolumeTool.cpp - line 178 - method ConvexVolumeTool::handleClick()
--------------------------------------------------------------
if (pointInPoly(vols[i].nverts, vols[i].verts, p) &&
                  p[1] >= vols[i].hmin, p[1] <= vols[i].hmax)
{
      nearestIndex = i;
}

Replace "," with "&&"

Original issue reported on code.google.com by memono...@gmail.com on 25 Jul 2010 at 10:14

GoogleCodeExporter commented 9 years ago
Fixed inr R187.

Original comment by memono...@gmail.com on 27 Jul 2010 at 5:57