Revision: 55831
          http://sourceforge.net/p/brlcad/code/55831
Author:   starseeker
Date:     2013-06-24 20:35:37 +0000 (Mon, 24 Jun 2013)
Log Message:
-----------
Move defines into a header.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/libbrep_brep_tools.h
    brlcad/trunk/src/libbrep/opennurbs_ext.cpp

Modified: brlcad/trunk/src/libbrep/libbrep_brep_tools.h
===================================================================
--- brlcad/trunk/src/libbrep/libbrep_brep_tools.h       2013-06-24 20:27:13 UTC 
(rev 55830)
+++ brlcad/trunk/src/libbrep/libbrep_brep_tools.h       2013-06-24 20:35:37 UTC 
(rev 55831)
@@ -31,6 +31,21 @@
 
 #include "opennurbs.h"
 
+/* Directions */
+#ifndef NE
+#  define NE 1
+#endif
+#ifndef NW
+#  define NW 2
+#endif
+#ifndef SW
+#  define SW 3
+#endif
+#ifndef SE
+#  define SE 4
+#endif
+
+
 #ifndef NURBS_EXPORT
 #  if defined(NURBS_DLL_EXPORTS) && defined(NURBS_DLL_IMPORTS)
 #    error "Only NURBS_DLL_EXPORTS or NURBS_DLL_IMPORTS can be defined, not 
both."

Modified: brlcad/trunk/src/libbrep/opennurbs_ext.cpp
===================================================================
--- brlcad/trunk/src/libbrep/opennurbs_ext.cpp  2013-06-24 20:27:13 UTC (rev 
55830)
+++ brlcad/trunk/src/libbrep/opennurbs_ext.cpp  2013-06-24 20:35:37 UTC (rev 
55831)
@@ -1941,11 +1941,6 @@
     }
 }
 
-#define NE 1
-#define NW 2
-#define SW 3
-#define SE 4
-
 bool
 SurfaceTree::isFlat(ON_Plane *frames)
 {

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