changed remarks

This commit is contained in:
axelrodR 2014-01-20 00:55:40 +02:00
parent 0c40165908
commit 4d657b9561

View File

@ -794,8 +794,8 @@ static void getHeightData(const rcCompactHeightfield& chf,
break; break;
} }
// in some dense cases the polygon simplification moves the polygon to a point where the center // in some rare dense cases the polygon simplification moves the polygon to a point where the center
// is very far from the region. So we search the span in flood-fill fashion from the vertics // is very far from the region. So we search the span in flood-fill fashion from the vertices
if (stack.size() == 0) if (stack.size() == 0)
{ {
memset(hp.data, 0, sizeof(unsigned short)*hp.width*hp.height); memset(hp.data, 0, sizeof(unsigned short)*hp.width*hp.height);