Revision: 55778
          http://sourceforge.net/p/brlcad/code/55778
Author:   carlmoore
Date:     2013-06-14 13:35:13 +0000 (Fri, 14 Jun 2013)
Log Message:
-----------
remove trailing blanks/tabs, and fix one misspelling

Modified Paths:
--------------
    brlcad/trunk/misc/CMake/BRLCAD_Targets.cmake
    brlcad/trunk/src/fb/fbcmrot.c
    brlcad/trunk/src/fb/fbcolor.c
    brlcad/trunk/src/libged/gqa.c
    brlcad/trunk/src/librt/primitives/bot/bot_wireframe.cpp

Modified: brlcad/trunk/misc/CMake/BRLCAD_Targets.cmake
===================================================================
--- brlcad/trunk/misc/CMake/BRLCAD_Targets.cmake        2013-06-14 07:06:52 UTC 
(rev 55777)
+++ brlcad/trunk/misc/CMake/BRLCAD_Targets.cmake        2013-06-14 13:35:13 UTC 
(rev 55778)
@@ -163,7 +163,7 @@
   target_link_libraries(${execname} ${libslist})
 
 
-  # If an executable isn't to be installed or needs to be installed 
+  # If an executable isn't to be installed or needs to be installed
   # somewhere other than the default location, the NO_INSTALL argument
   # bypasses the standard install command call.  Otherwise, call install
   # with standard arguments.
@@ -287,9 +287,9 @@
       target_link_libraries(${libname} ${libslist})
     endif(NOT "${libslist}" STREQUAL "" AND NOT "${libslist}" STREQUAL "NONE")
 
-    # If a library isn't to be installed or needs to be installed 
+    # If a library isn't to be installed or needs to be installed
     # somewhere other than the default location, the NO_INSTALL argument
-    # bypasses the standard install command call. Otherwise, call install 
+    # bypasses the standard install command call. Otherwise, call install
     # with standard arguments.
     CHECK_OPT("NO_INSTALL" NO_LIB_INSTALL "${ARGN}")
     if(NOT NO_LIB_INSTALL)
@@ -346,9 +346,9 @@
       set_target_properties(${libname}-static PROPERTIES OUTPUT_NAME 
"${libname}")
     endif(NOT MSVC)
 
-    # If a library isn't to be installed or needs to be installed 
+    # If a library isn't to be installed or needs to be installed
     # somewhere other than the default location, the NO_INSTALL argument
-    # bypasses the standard install command call. Otherwise, call install 
+    # bypasses the standard install command call. Otherwise, call install
     # with standard arguments.
     CHECK_OPT("NO_INSTALL" NO_LIB_INSTALL "${ARGN}")
     if(NOT NO_LIB_INSTALL)

Modified: brlcad/trunk/src/fb/fbcmrot.c
===================================================================
--- brlcad/trunk/src/fb/fbcmrot.c       2013-06-14 07:06:52 UTC (rev 55777)
+++ brlcad/trunk/src/fb/fbcmrot.c       2013-06-14 13:35:13 UTC (rev 55778)
@@ -102,7 +102,7 @@
        printusage();
        fprintf(stderr, "       Program continues running:\n");
     }
-       
+
     if (!get_args(argc, argv)) {
        printusage();
        bu_exit(1, NULL);

Modified: brlcad/trunk/src/fb/fbcolor.c
===================================================================
--- brlcad/trunk/src/fb/fbcolor.c       2013-06-14 07:06:52 UTC (rev 55777)
+++ brlcad/trunk/src/fb/fbcolor.c       2013-06-14 13:35:13 UTC (rev 55778)
@@ -75,7 +75,7 @@
        printusage();
        fprintf(stderr, "       Program continues running:\n");
     }
-       
+
     if (! pars_Argv(argc, argv)) {
        printusage();
        bu_exit(1, NULL);

Modified: brlcad/trunk/src/libged/gqa.c
===================================================================
--- brlcad/trunk/src/libged/gqa.c       2013-06-14 07:06:52 UTC (rev 55777)
+++ brlcad/trunk/src/libged/gqa.c       2013-06-14 13:35:13 UTC (rev 55778)
@@ -1799,7 +1799,7 @@
            delta = hi - low;
 
            if (verbose)
-               bu_vls_printf(_ged_current_gedp->ged_result_str, 
+               bu_vls_printf(_ged_current_gedp->ged_result_str,
                    "\t%s running avg weight %g %s hi=(%g) low=(%g)\n",
                    obj_tbl[obj].o_name,
                    (tmp / num_views) / units[WGT]->val,
@@ -1847,7 +1847,7 @@
            delta = hi - low;
 
            if (verbose)
-               bu_vls_printf(_ged_current_gedp->ged_result_str, 
+               bu_vls_printf(_ged_current_gedp->ged_result_str,
                    "\t%s running avg volume %g %s hi=(%g) low=(%g)\n",
                    obj_tbl[obj].o_name,
                    (tmp / num_views) / units[VOL]->val, units[VOL]->name,
@@ -2468,14 +2468,14 @@
        gridSpacing *= 0.25;
        if (gridSpacing < gridSpacingLimit) gridSpacing = gridSpacingLimit;
 
-       bu_log("Trying estimated initial grid spacing: %g %s\n", 
+       bu_log("Trying estimated initial grid spacing: %g %s\n",
            gridSpacing / units[LINE]->val, units[LINE]->name);
     } else {
-       bu_log("Trying initial grid spacing: %g %s\n", 
+       bu_log("Trying initial grid spacing: %g %s\n",
            gridSpacing / units[LINE]->val, units[LINE]->name);
     }
 
-    bu_log("Using grid spacing lower limit: %g %s\n", 
+    bu_log("Using grid spacing lower limit: %g %s\n",
            gridSpacingLimit / units[LINE]->val, units[LINE]->name);
 
     if (options_prep(rtip, state.span) != GED_OK) return GED_ERROR;

Modified: brlcad/trunk/src/librt/primitives/bot/bot_wireframe.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/bot/bot_wireframe.cpp     2013-06-14 
07:06:52 UTC (rev 55777)
+++ brlcad/trunk/src/librt/primitives/bot/bot_wireframe.cpp     2013-06-14 
13:35:13 UTC (rev 55778)
@@ -11,7 +11,7 @@
 #include "wdb.h"
 
 /*************************
- *   Utility functions 
+ *   Utility functions
  *************************/
 
 #if 0
@@ -75,7 +75,7 @@
     points[1] = bot->faces[face_num*3+1]*3;
     points[2] = bot->faces[face_num*3+2]*3;
     std::set<size_t>::iterator it;
-    for (int i = 0; i < 3; ++i) { 
+    for (int i = 0; i < 3; ++i) {
        for (it = (*vert_to_face)[points[i]].begin(); it != 
(*vert_to_face)[points[i]].end(); it++) {
            face_cnt[(*it)] += 1;
        }
@@ -88,7 +88,7 @@
     }
 }
 
-/* To avoid drawing dupliate lines, build the final vlist using a set */
+/* To avoid drawing duplicate lines, build the final vlist using a set */
 static void
 plot_patch_borders(std::vector<std::map<std::pair<size_t, size_t>, size_t> > 
*patch_edge_cnt, struct rt_bot_internal *bot, struct bu_list *vhead)
 {
@@ -134,7 +134,7 @@
     std::vector<int> face_to_plane;
     std::vector<std::set<size_t> > patches;
     std::map<size_t, std::set<size_t> > vert_to_face;
-    
+
     /* Initialize containers */
     face_areas.resize(bot->num_faces);
     face_to_plane.resize(bot->num_faces);
@@ -152,7 +152,7 @@
     VSET(gvects[3], 1,0,0);
     VSET(gvects[4], 0,1,0);
     VSET(gvects[5], 0,0,1);
- 
+
     // Calculate face normals dot product with bounding rpp planes
     for (size_t i=0; i < bot->num_faces; ++i) {
        size_t pt_A, pt_B, pt_C;
@@ -185,7 +185,7 @@
        }
        groups[result_max].push_back(i);
        face_to_plane[i]=result_max;
-        face_areas[i] = face_area(bot, i); 
+        face_areas[i] = face_area(bot, i);
     }
 
     // Order the groups by number of bots
@@ -206,9 +206,9 @@
                }
            }
        }
-       if (max > 0) 
+       if (max > 0)
            ordered_groups.push_back(largest_group);
-       group_bin.erase(largest_group); 
+       group_bin.erase(largest_group);
     }
 
     // All faces must belong to some patch - continue until all faces are 
processed
@@ -225,7 +225,7 @@
             patch_cnt++;
            // Find largest remaining face in group
            double face_size_criteria = 0.0;
-           for (int f_it = 0; f_it < groups[curr_group].size(); f_it++) { 
+           for (int f_it = 0; f_it < groups[curr_group].size(); f_it++) {
                if (face_pool[groups[curr_group][f_it]]) {
                    double fa = face_areas[groups[curr_group][f_it]];
                    if (fa > face_size_criteria) {
@@ -265,7 +265,7 @@
                                if (VDOT(largest_face_normal, face_normal) > 
0.85) {
                                    face_queue.push((*cf_it));
                                    face_pool[(*cf_it)] = 0;
-                               } 
+                               }
                            }
                        }
                    }

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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to