Revision: 76187
http://sourceforge.net/p/brlcad/code/76187
Author: starseeker
Date: 2020-06-23 16:59:35 +0000 (Tue, 23 Jun 2020)
Log Message:
-----------
vmath.h includes common.h as well, just grab the one bit we need to avoid the
floating point equality warning
Modified Paths:
--------------
brlcad/branches/qtged/src/qged/qtads/DockOverlay.cpp
Modified: brlcad/branches/qtged/src/qged/qtads/DockOverlay.cpp
===================================================================
--- brlcad/branches/qtged/src/qged/qtads/DockOverlay.cpp 2020-06-23
16:51:07 UTC (rev 76186)
+++ brlcad/branches/qtged/src/qged/qtads/DockOverlay.cpp 2020-06-23
16:59:35 UTC (rev 76187)
@@ -20,7 +20,6 @@
//============================================================================
// INCLUDES
//============================================================================
-#include "vmath.h"
#include "DockOverlay.h"
#include <QPointer>
@@ -42,6 +41,10 @@
#include <iostream>
+#define SMALL_FASTF 1.0e-77
+#define NEAR_ZERO(val, epsilon) (((val) > -epsilon) && ((val) < epsilon))
+#define NEAR_EQUAL(_a, _b, _tol) NEAR_ZERO((_a) - (_b), (_tol))
+
namespace ads
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits