Revision: 54180
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54180&view=rev
Author:   carlmoore
Date:     2013-01-15 22:03:16 +0000 (Tue, 15 Jan 2013)
Log Message:
-----------
add 'horizontal'; change vert_bricks computation; remove blank line (need only 
1 blank line at start of mged input)

Modified Paths:
--------------
    brlcad/trunk/src/proc-db/brickwall.c

Modified: brlcad/trunk/src/proc-db/brickwall.c
===================================================================
--- brlcad/trunk/src/proc-db/brickwall.c        2013-01-15 18:15:40 UTC (rev 
54179)
+++ brlcad/trunk/src/proc-db/brickwall.c        2013-01-15 22:03:16 UTC (rev 
54180)
@@ -274,8 +274,6 @@
 
     /* print the commands to make the wall */
 
-    fprintf(stdout, "\n\n");
-
     for (row=0; row < vert_bricks; ++row) {
 
        if (row % 2) offset = brick_depth + horiz_spacing;
@@ -362,7 +360,7 @@
     }
 
 
-    vert_bricks = (int)(wall_height / (brick_height+(horiz_spacing*0.5)));
+    vert_bricks = (int)(wall_height / brick_height);
 
     if (vert_bricks > 1) {
     vert_spacing =
@@ -375,7 +373,7 @@
 
     fprintf(stderr, "wall %d bricks wide,  %d bricks high\n",
                  horiz_bricks, vert_bricks);
-    fprintf(stderr, "distance between adjacent bricks %g\n",
+    fprintf(stderr, "horizontal distance between adjacent bricks %g\n",
                  horiz_spacing / units_conv);
     fprintf(stderr, "distance between layers of bricks %g\n",
                  vert_spacing / units_conv);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to