Revision: 45809
http://brlcad.svn.sourceforge.net/brlcad/?rev=45809&view=rev
Author: brlcad
Date: 2011-08-08 15:27:32 +0000 (Mon, 08 Aug 2011)
Log Message:
-----------
rename from skt.c to sketch.c because it's easier to find the file if the
filename matches the primitive's canonical short name.
Modified Paths:
--------------
brlcad/trunk/src/libwdb/CMakeLists.txt
brlcad/trunk/src/libwdb/Makefile.am
Added Paths:
-----------
brlcad/trunk/src/libwdb/sketch.c
Removed Paths:
-------------
brlcad/trunk/src/libwdb/skt.c
Modified: brlcad/trunk/src/libwdb/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/libwdb/CMakeLists.txt 2011-08-08 15:25:28 UTC (rev
45808)
+++ brlcad/trunk/src/libwdb/CMakeLists.txt 2011-08-08 15:27:32 UTC (rev
45809)
@@ -16,7 +16,7 @@
nurb.c
pipe.c
reg.c
- skt.c
+ sketch.c
submodel.c
units.c
vol.c
Modified: brlcad/trunk/src/libwdb/Makefile.am
===================================================================
--- brlcad/trunk/src/libwdb/Makefile.am 2011-08-08 15:25:28 UTC (rev 45808)
+++ brlcad/trunk/src/libwdb/Makefile.am 2011-08-08 15:27:32 UTC (rev 45809)
@@ -26,7 +26,7 @@
nurb.c \
pipe.c \
reg.c \
- skt.c \
+ sketch.c \
submodel.c \
units.c \
vol.c \
Copied: brlcad/trunk/src/libwdb/sketch.c (from rev 45808,
brlcad/trunk/src/libwdb/skt.c)
===================================================================
--- brlcad/trunk/src/libwdb/sketch.c (rev 0)
+++ brlcad/trunk/src/libwdb/sketch.c 2011-08-08 15:27:32 UTC (rev 45809)
@@ -0,0 +1,56 @@
+/* S K T . 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/skt.c
+ *
+ * Support for sketches
+ *
+ */
+
+#include "common.h"
+
+#include "bu.h"
+#include "rtgeom.h"
+#include "raytrace.h"
+#include "wdb.h"
+
+
+int
+mk_sketch(struct rt_wdb *fp, const char *name, const struct rt_sketch_internal
*skt)
+{
+ struct rt_sketch_internal *sketch;
+
+ RT_SKETCH_CK_MAGIC(skt);
+
+ /* copy the caller's struct */
+ sketch = rt_copy_sketch(skt);
+
+ return wdb_export(fp, name, (genptr_t)sketch, ID_SKETCH, mk_conv2mm);
+}
+
+
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */
Deleted: brlcad/trunk/src/libwdb/skt.c
===================================================================
--- brlcad/trunk/src/libwdb/skt.c 2011-08-08 15:25:28 UTC (rev 45808)
+++ brlcad/trunk/src/libwdb/skt.c 2011-08-08 15:27:32 UTC (rev 45809)
@@ -1,56 +0,0 @@
-/* S K T . 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/skt.c
- *
- * Support for sketches
- *
- */
-
-#include "common.h"
-
-#include "bu.h"
-#include "rtgeom.h"
-#include "raytrace.h"
-#include "wdb.h"
-
-
-int
-mk_sketch(struct rt_wdb *fp, const char *name, const struct rt_sketch_internal
*skt)
-{
- struct rt_sketch_internal *sketch;
-
- RT_SKETCH_CK_MAGIC(skt);
-
- /* copy the caller's struct */
- sketch = rt_copy_sketch(skt);
-
- return wdb_export(fp, name, (genptr_t)sketch, ID_SKETCH, 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® 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