Revision: 56526
http://sourceforge.net/p/brlcad/code/56526
Author: brlcad
Date: 2013-08-04 19:50:25 +0000 (Sun, 04 Aug 2013)
Log Message:
-----------
comment why these export lines are here
Modified Paths:
--------------
brlcad/trunk/src/libged/brep.c
Modified: brlcad/trunk/src/libged/brep.c
===================================================================
--- brlcad/trunk/src/libged/brep.c 2013-08-04 19:33:27 UTC (rev 56525)
+++ brlcad/trunk/src/libged/brep.c 2013-08-04 19:50:25 UTC (rev 56526)
@@ -38,7 +38,10 @@
/* TODO - get rid of the need for brep_specific at this level */
#include "../librt/primitives/brep/brep_local.h"
-#if 1
+/* FIXME: how should we set up brep functionality without introducing
+ * lots of new public librt functions? right now, we reach into librt
+ * directly and export what we need from brep_debug.cpp which sucks.
+ */
RT_EXPORT extern int brep_command(struct bu_vls *vls, const char *solid_name,
const struct rt_tess_tol *ttol, const struct bn_tol *tol, struct brep_specific*
bs, struct rt_brep_internal* bi, struct bn_vlblock *vbp, int argc, const char
*argv[], char *commtag);
RT_EXPORT extern int brep_conversion(struct rt_db_internal *intern, ON_Brep
**brep);
RT_EXPORT extern int brep_conversion_comb(struct rt_db_internal *old_internal,
char *name, char *suffix, struct rt_wdb *wdbp, fastf_t local2mm);
@@ -49,10 +52,8 @@
RT_EXPORT extern int brep_intersect_curve_surface(struct rt_db_internal
*intern1, struct rt_db_internal *intern2, int i, int j);
RT_EXPORT extern int brep_intersect_surface_surface(struct rt_db_internal
*intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp);
RT_EXPORT extern int rt_brep_boolean(struct rt_db_internal *out, const struct
rt_db_internal *ip1, const struct rt_db_internal *ip2, const int operation);
-#else
-extern int brep_surface_plot(struct ged *gedp, struct brep_specific* bs,
struct rt_brep_internal* bi, struct bn_vlblock *vbp, int index);
-#endif
+
int
ged_brep(struct ged *gedp, int argc, const char *argv[])
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits