qbsp: CheckFace: print position of non-convex face

This commit is contained in:
Eric Wasylishen 2015-12-10 15:58:40 -07:00
parent 5996064686
commit ab268ab9ba
1 changed files with 2 additions and 2 deletions

View File

@ -113,8 +113,8 @@ CheckFace(face_t *face)
continue;
dist = DotProduct(face->w.points[j], edgenormal);
if (dist > edgedist)
Error("%s: Found a non-convex face (error size %f)\n",
__func__, dist - edgedist);
Error("%s: Found a non-convex face (error size %f, point: %f %f %f)\n",
__func__, dist - edgedist, face->w.points[j][0], face->w.points[j][1], face->w.points[j][2]);
}
}
}