[brlcad-commits] SF.net SVN: brlcad:[45481] brlcad/trunk/include/bn.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2011-07-14 04:41:08
|
Revision: 45481 http://brlcad.svn.sourceforge.net/brlcad/?rev=45481&view=rev Author: brlcad Date: 2011-07-14 04:41:02 +0000 (Thu, 14 Jul 2011) Log Message: ----------- remove BN_APPROXEQUAL since NEAR_EQUAL is practically equivalent just without requiring a bn_tol. looks like the only use was isolated to brep.cpp, so yank it. Modified Paths: -------------- brlcad/trunk/include/bn.h Modified: brlcad/trunk/include/bn.h =================================================================== --- brlcad/trunk/include/bn.h 2011-07-14 04:36:10 UTC (rev 45480) +++ brlcad/trunk/include/bn.h 2011-07-14 04:41:02 UTC (rev 45481) @@ -117,7 +117,6 @@ #define BN_VECT_ARE_PERP(_dot, _tol) \ (((_dot) < 0) ? ((-(_dot))<=(_tol)->perp) : ((_dot) <= (_tol)->perp)) -#define BN_APPROXEQUAL(_a, _b, _tol) (fabs((_a) - (_b)) <= _tol->dist) /** @} */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |