qbsp: show the error margin when non-convex faces are found
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
1612d60a5f
commit
0269ad8edb
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue