Revision: 51772
http://brlcad.svn.sourceforge.net/brlcad/?rev=51772&view=rev
Author: crdueck
Date: 2012-08-06 20:29:33 +0000 (Mon, 06 Aug 2012)
Log Message:
-----------
revert r51767, HEQUAL now uses the HNEAR_EQUAL macro
Revision Links:
--------------
http://brlcad.svn.sourceforge.net/brlcad/?rev=51767&view=rev
Modified Paths:
--------------
brlcad/trunk/src/libged/analyze.c
Modified: brlcad/trunk/src/libged/analyze.c
===================================================================
--- brlcad/trunk/src/libged/analyze.c 2012-08-06 20:22:00 UTC (rev 51771)
+++ brlcad/trunk/src/libged/analyze.c 2012-08-06 20:29:33 UTC (rev 51772)
@@ -1166,7 +1166,7 @@
/* first triangular face, make sure its not a duplicate */
if (bn_mk_plane_3pts(face.plane_eqn, ARS_PT(0, 0), ARS_PT(1, 1),
ARS_PT(0, 1), &gedp->ged_wdbp->wdb_tol) == 0
- && !HNEAR_EQUAL(old_plane, face.plane_eqn,
gedp->ged_wdbp->wdb_tol.dist)) {
+ && !HEQUAL(old_plane, face.plane_eqn)) {
HMOVE(old_plane, face.plane_eqn);
ADD_PT(face, ARS_PT(0, 1));
ADD_PT(face, ARS_PT(0, 0));
@@ -1189,7 +1189,7 @@
/* second triangular face, make sure its not a duplicate */
if (bn_mk_plane_3pts(face.plane_eqn, ARS_PT(1, 0), ARS_PT(1, 1),
ARS_PT(0, 0), &gedp->ged_wdbp->wdb_tol) == 0
- && !HNEAR_EQUAL(old_plane, face.plane_eqn,
gedp->ged_wdbp->wdb_tol.dist)) {
+ && !HEQUAL(old_plane, face.plane_eqn)) {
HMOVE(old_plane, face.plane_eqn);
ADD_PT(face, ARS_PT(1, 0));
ADD_PT(face, ARS_PT(0, 0));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits