Revision: 45812
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45812&view=rev
Author:   brlcad
Date:     2011-08-08 17:33:29 +0000 (Mon, 08 Aug 2011)

Log Message:
-----------
rename extr.c to extrude.c so that the filename matches the primitiv'es 
canonical short name.  makes it easier to identify what this file contains.

Modified Paths:
--------------
    brlcad/trunk/src/libwdb/CMakeLists.txt
    brlcad/trunk/src/libwdb/Makefile.am

Added Paths:
-----------
    brlcad/trunk/src/libwdb/extrude.c

Removed Paths:
-------------
    brlcad/trunk/src/libwdb/extr.c

Modified: brlcad/trunk/src/libwdb/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/libwdb/CMakeLists.txt      2011-08-08 16:28:34 UTC (rev 
45811)
+++ brlcad/trunk/src/libwdb/CMakeLists.txt      2011-08-08 17:33:29 UTC (rev 
45812)
@@ -1,25 +1,25 @@
 set(LIBWDB_SOURCES
-    arbn.c 
-    ars.c 
-    bot.c 
-    brep.cpp 
-    cline.c 
-    constraint.c 
-    dsp.c 
-    dynamic_geometry.c 
-    ebm.c 
-    export.c 
-    extr.c 
-    id.c 
-    mater.c 
-    nmg.c 
-    nurb.c 
-    pipe.c 
-    reg.c 
-    sketch.c 
-    submodel.c 
-    units.c 
-    vol.c 
+    arbn.c
+    ars.c
+    bot.c
+    brep.cpp
+    cline.c
+    constraint.c
+    dsp.c
+    dynamic_geometry.c
+    ebm.c
+    export.c
+    extrude.c
+    id.c
+    mater.c
+    nmg.c
+    nurb.c
+    pipe.c
+    reg.c
+    sketch.c
+    submodel.c
+    units.c
+    vol.c
     wdb.c
 )
 

Modified: brlcad/trunk/src/libwdb/Makefile.am
===================================================================
--- brlcad/trunk/src/libwdb/Makefile.am 2011-08-08 16:28:34 UTC (rev 45811)
+++ brlcad/trunk/src/libwdb/Makefile.am 2011-08-08 17:33:29 UTC (rev 45812)
@@ -19,7 +19,7 @@
        dynamic_geometry.c \
        ebm.c \
        export.c \
-       extr.c \
+       extrude.c \
        id.c \
        mater.c \
        nmg.c \

Deleted: brlcad/trunk/src/libwdb/extr.c
===================================================================
--- brlcad/trunk/src/libwdb/extr.c      2011-08-08 16:28:34 UTC (rev 45811)
+++ brlcad/trunk/src/libwdb/extr.c      2011-08-08 17:33:29 UTC (rev 45812)
@@ -1,76 +0,0 @@
-/*                          E X T R . C
- * BRL-CAD
- *
- * Copyright (c) 2000-2011 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this file; see the file named COPYING for more
- * information.
- */
-/** @file libwdb/extr.c
- *
- * Support for extrusion solids
- *
- */
-
-#include "common.h"
-
-#include <stdio.h>
-#include <math.h>
-#include <string.h>
-#include "bio.h"
-
-#include "bu.h"
-#include "db.h"
-#include "vmath.h"
-#include "bn.h"
-#include "rtgeom.h"
-#include "raytrace.h"
-#include "wdb.h"
-
-int
-mk_extrusion(
-    struct rt_wdb *fp,
-    const char *name,
-    const char *sketch_name,
-    const point_t V,
-    const vect_t h,
-    const vect_t u_vec,
-    const vect_t v_vec,
-    int keypoint)
-{
-    struct rt_extrude_internal *extr;
-
-    BU_GETSTRUCT(extr, rt_extrude_internal);
-    extr->magic = RT_EXTRUDE_INTERNAL_MAGIC;
-    extr->sketch_name = bu_strdup(sketch_name);
-    VMOVE(extr->V, V);
-    VMOVE(extr->h, h);
-    VMOVE(extr->u_vec, u_vec);
-    VMOVE(extr->v_vec, v_vec);
-    extr->keypoint = keypoint;
-    extr->skt = (struct rt_sketch_internal *)NULL;
-
-    return wdb_export(fp, name, (genptr_t)extr, ID_EXTRUDE, mk_conv2mm);
-}
-
-
-/*
- * Local Variables:
- * mode: C
- * tab-width: 8
- * indent-tabs-mode: t
- * c-file-style: "stroustrup"
- * End:
- * ex: shiftwidth=4 tabstop=8
- */

Copied: brlcad/trunk/src/libwdb/extrude.c (from rev 45807, 
brlcad/trunk/src/libwdb/extr.c)
===================================================================
--- brlcad/trunk/src/libwdb/extrude.c                           (rev 0)
+++ brlcad/trunk/src/libwdb/extrude.c   2011-08-08 17:33:29 UTC (rev 45812)
@@ -0,0 +1,76 @@
+/*                          E X T R . C
+ * BRL-CAD
+ *
+ * Copyright (c) 2000-2011 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this file; see the file named COPYING for more
+ * information.
+ */
+/** @file libwdb/extr.c
+ *
+ * Support for extrusion solids
+ *
+ */
+
+#include "common.h"
+
+#include <stdio.h>
+#include <math.h>
+#include <string.h>
+#include "bio.h"
+
+#include "bu.h"
+#include "db.h"
+#include "vmath.h"
+#include "bn.h"
+#include "rtgeom.h"
+#include "raytrace.h"
+#include "wdb.h"
+
+int
+mk_extrusion(
+    struct rt_wdb *fp,
+    const char *name,
+    const char *sketch_name,
+    const point_t V,
+    const vect_t h,
+    const vect_t u_vec,
+    const vect_t v_vec,
+    int keypoint)
+{
+    struct rt_extrude_internal *extr;
+
+    BU_GETSTRUCT(extr, rt_extrude_internal);
+    extr->magic = RT_EXTRUDE_INTERNAL_MAGIC;
+    extr->sketch_name = bu_strdup(sketch_name);
+    VMOVE(extr->V, V);
+    VMOVE(extr->h, h);
+    VMOVE(extr->u_vec, u_vec);
+    VMOVE(extr->v_vec, v_vec);
+    extr->keypoint = keypoint;
+    extr->skt = (struct rt_sketch_internal *)NULL;
+
+    return wdb_export(fp, name, (genptr_t)extr, ID_EXTRUDE, mk_conv2mm);
+}
+
+
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */


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

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to