Revision: 40685
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40685&view=rev
Author:   brlcad
Date:     2010-09-25 02:04:55 +0000 (Sat, 25 Sep 2010)

Log Message:
-----------
rename 'terrain' to 'wavy' since cmake requires unique target names and there 
is already a terrain tool in src/util.

Modified Paths:
--------------
    brlcad/trunk/src/proc-db/Makefile.am
    brlcad/trunk/src/proc-db/wavy.c

Modified: brlcad/trunk/src/proc-db/Makefile.am
===================================================================
--- brlcad/trunk/src/proc-db/Makefile.am        2010-09-25 02:02:58 UTC (rev 
40684)
+++ brlcad/trunk/src/proc-db/Makefile.am        2010-09-25 02:04:55 UTC (rev 
40685)
@@ -34,10 +34,10 @@
        surfaceintersect \
        tea \
        tea_nmg \
-       terrain \
        torii \
        tube \
        vegetation \
+       wavy \
        wdb_example
 
 bottest_SOURCES = bottest.c
@@ -98,10 +98,10 @@
 spltest_SOURCES = spltest.c
 tea_SOURCES = tea.c
 tea_nmg_SOURCES = tea_nmg.c
-terrain_SOURCES = terrain.c
 torii_SOURCES = torii.c
 tube_SOURCES = tube.c
 vegetation_SOURCES = vegetation.c
+wavy_SOURCES = wavy.c
 wdb_example_SOURCES = wdb_example.c
 
 noinst_HEADERS = \
@@ -148,7 +148,7 @@
        $(surfaceintersect_OBJECTS) \
        $(tea_OBJECTS) \
        $(tea_nmg_OBJECTS) \
-       $(terrain_OBJECTS) \
+       $(wavy_OBJECTS) \
        $(torii_OBJECTS) \
        $(tube_OBJECTS) \
        $(vegetation_OBJECTS) \

Modified: brlcad/trunk/src/proc-db/wavy.c
===================================================================
--- brlcad/trunk/src/proc-db/wavy.c     2010-09-25 02:02:58 UTC (rev 40684)
+++ brlcad/trunk/src/proc-db/wavy.c     2010-09-25 02:04:55 UTC (rev 40685)
@@ -1,4 +1,4 @@
-/*                       T E R R A I N . C
+/*                          W A V Y . C
  * BRL-CAD
  *
  * Copyright (c) 1991-2010 United States Government as represented by
@@ -17,11 +17,9 @@
  * License along with this file; see the file named COPYING for more
  * information.
  */
-/** @file terrain.c
+/** @file wavy.c
  *
- * Create a random terrain spline model database.  Future additions to
- * this program would be to include random trees and objects to be
- * inserted into the database.
+ * Create a random wavy surface spline model database.
  *
  */
 
@@ -63,15 +61,15 @@
 int
 main(int argc, char **argv)
 {
-    char *id_name = "terrain database";
-    char *nurb_name = "terrain";
+    char *id_name = "wavy database";
+    char *nurb_name = "wavy";
     int i, j;
     fastf_t hscale;
     struct rt_wdb *outfp;
     fastf_t grid[10][10][3];
     struct face_g_snurb **surfaces;
 
-    outfp = wdb_fopen("terrain.g");
+    outfp = wdb_fopen("wavy.g");
 
     hscale = 2.5;
 
@@ -112,7 +110,7 @@
     mk_bspline(outfp, nurb_name, surfaces);
 
     wdb_close(outfp);
-    bu_log("Terrain saved to 'terrain.g'\n");
+    bu_log("Geometry saved to 'wavy.g'\n");
 
     return 0;
 }


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

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to