Revision: 55631
http://sourceforge.net/p/brlcad/code/55631
Author: brlcad
Date: 2013-06-02 02:23:18 +0000 (Sun, 02 Jun 2013)
Log Message:
-----------
support compiling with this header in c90 mode, no // comments in non-c++
sections of the file
Modified Paths:
--------------
brlcad/trunk/include/brep.h
Modified: brlcad/trunk/include/brep.h
===================================================================
--- brlcad/trunk/include/brep.h 2013-06-01 04:36:40 UTC (rev 55630)
+++ brlcad/trunk/include/brep.h 2013-06-02 02:23:18 UTC (rev 55631)
@@ -177,7 +177,7 @@
bool IntersectRay(const ON_Ray& v, ON_2dPoint& isect) const
{
double uxv, q_pxv;
- // consider parallel and collinear cases
+ /* consider parallel and collinear cases */
if (ZERO(uxv = V2CROSS(m_dir, v.m_dir))
|| (ZERO(q_pxv = V2CROSS(v.m_origin - m_origin, v.m_dir)))) {
return false;
@@ -226,7 +226,7 @@
#define BREP_EDGE_MISS_TOLERANCE 5e-3
#define BREP_SAME_POINT_TOLERANCE 1e-6
-// FIXME: debugging crapola (clean up later)
+/* FIXME: debugging crapola (clean up later) */
#define ON_PRINT4(p) "[" << (p)[0] << ", " << (p)[1] << ", " << (p)[2] << ", "
<< (p)[3] << "]"
#define ON_PRINT3(p) "(" << (p)[0] << ", " << (p)[1] << ", " << (p)[2] << ")"
#define ON_PRINT2(p) "(" << (p)[0] << ", " << (p)[1] << ")"
@@ -236,9 +236,9 @@
#define TRACE(s)
#define TRACE1(s)
#define TRACE2(s)
-//#define TRACE(s) std::cerr << s << std::endl;
-//#define TRACE1(s) std::cerr << s << std::endl;
-//#define TRACE2(s) std::cerr << s << std::endl;
+/* #define TRACE(s) std::cerr << s << std::endl; */
+/* #define TRACE1(s) std::cerr << s << std::endl; */
+/* #define TRACE2(s) std::cerr << s << std::endl; */
namespace brlcad {
@@ -350,9 +350,9 @@
{
m_start = curve->PointAt(m_t[0]);
m_end = curve->PointAt(m_t[1]);
- // check for vertical segments they can be removed
- // from trims above (can't tell direction and don't
- // need
+ /* check for vertical segments they can be removed from trims
+ * above (can't tell direction and don't need
+ */
m_Horizontal = false;
m_Vertical = false;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits