From ab268ab9ba4193a118cd8d033f6b1bcece23f805 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Thu, 10 Dec 2015 15:58:40 -0700 Subject: [PATCH] qbsp: CheckFace: print position of non-convex face --- qbsp/brush.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbsp/brush.c b/qbsp/brush.c index eefc7c88..76b82722 100644 --- a/qbsp/brush.c +++ b/qbsp/brush.c @@ -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]); } } }