From 0269ad8edba9242f27db528fa06ff790afb573bb Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Sun, 18 Aug 2013 16:57:40 +0930 Subject: [PATCH] qbsp: show the error margin when non-convex faces are found Signed-off-by: Kevin Shanahan --- qbsp/brush.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbsp/brush.c b/qbsp/brush.c index 63da428c..014d7a60 100644 --- a/qbsp/brush.c +++ b/qbsp/brush.c @@ -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); } } }