mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-29 15:11:54 +00:00
f40a6cb2d5
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@370 8a3a26a2-13c4-0310-b231-cf6edde360e5
27 lines
888 B
Diff
27 lines
888 B
Diff
Index: tools/quake3/q3map2/brush.c
|
|
===================================================================
|
|
--- tools/quake3/q3map2/brush.c (revision 369)
|
|
+++ tools/quake3/q3map2/brush.c (working copy)
|
|
@@ -357,6 +357,8 @@
|
|
side_t *side;
|
|
plane_t *plane;
|
|
|
|
+ static int brushord = -1;
|
|
+ brushord++;
|
|
|
|
/* walk the list of brush sides */
|
|
for( i = 0; i < brush->numsides; i++ )
|
|
@@ -367,6 +369,13 @@
|
|
|
|
/* make huge winding */
|
|
w = BaseWindingForPlane( plane->normal, plane->dist );
|
|
+ Sys_Printf(">>> BaseWindingForPlane() for brush %i, side %i is as follows:\n", brushord, i);
|
|
+ for (j = 0; j < w->numpoints; j++) {
|
|
+ Sys_Printf(">>> (%.1f %.1f %.1f) [rounded to nearest integer coordinates]\n",
|
|
+ Q_rint(w->p[j][0]),
|
|
+ Q_rint(w->p[j][1]),
|
|
+ Q_rint(w->p[j][2]));
|
|
+ }
|
|
|
|
/* walk the list of brush sides */
|
|
for( j = 0; j < brush->numsides && w != NULL; j++ )
|