qbsp: show the error margin when non-convex faces are found

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-08-18 16:57:40 +09:30
parent 1612d60a5f
commit 0269ad8edb
1 changed files with 2 additions and 1 deletions

View File

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