mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Improving base_winding_logging.patch for base_winding regression test.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@370 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
30029bd5a8
commit
f40a6cb2d5
1 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
Index: tools/quake3/q3map2/brush.c
|
Index: tools/quake3/q3map2/brush.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- tools/quake3/q3map2/brush.c (revision 368)
|
--- tools/quake3/q3map2/brush.c (revision 369)
|
||||||
+++ tools/quake3/q3map2/brush.c (working copy)
|
+++ tools/quake3/q3map2/brush.c (working copy)
|
||||||
@@ -357,6 +357,8 @@
|
@@ -357,6 +357,8 @@
|
||||||
side_t *side;
|
side_t *side;
|
||||||
|
@ -11,13 +11,16 @@ Index: tools/quake3/q3map2/brush.c
|
||||||
|
|
||||||
/* walk the list of brush sides */
|
/* walk the list of brush sides */
|
||||||
for( i = 0; i < brush->numsides; i++ )
|
for( i = 0; i < brush->numsides; i++ )
|
||||||
@@ -367,6 +369,10 @@
|
@@ -367,6 +369,13 @@
|
||||||
|
|
||||||
/* make huge winding */
|
/* make huge winding */
|
||||||
w = BaseWindingForPlane( plane->normal, plane->dist );
|
w = BaseWindingForPlane( plane->normal, plane->dist );
|
||||||
+ printf(">>> BaseWindingForPlane() for brush %i, side %i is as follows:\n", brushord, i);
|
+ Sys_Printf(">>> BaseWindingForPlane() for brush %i, side %i is as follows:\n", brushord, i);
|
||||||
+ for (j = 0; j < w->numpoints; j++) {
|
+ for (j = 0; j < w->numpoints; j++) {
|
||||||
+ printf(">>> (%.10f %.10f %.10f)\n", w->p[j][0], w->p[j][1], w->p[j][2]);
|
+ 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 */
|
/* walk the list of brush sides */
|
||||||
|
|
Loading…
Reference in a new issue