qbsp: CheckFace: print position of non-convex face
This commit is contained in:
parent
5996064686
commit
ab268ab9ba
|
|
@ -113,8 +113,8 @@ CheckFace(face_t *face)
|
||||||
continue;
|
continue;
|
||||||
dist = DotProduct(face->w.points[j], edgenormal);
|
dist = DotProduct(face->w.points[j], edgenormal);
|
||||||
if (dist > edgedist)
|
if (dist > edgedist)
|
||||||
Error("%s: Found a non-convex face (error size %f)\n",
|
Error("%s: Found a non-convex face (error size %f, point: %f %f %f)\n",
|
||||||
__func__, dist - edgedist);
|
__func__, dist - edgedist, face->w.points[j][0], face->w.points[j][1], face->w.points[j][2]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue