Revision: 55852
http://sourceforge.net/p/brlcad/code/55852
Author: phoenixyjll
Date: 2013-06-26 09:21:02 +0000 (Wed, 26 Jun 2013)
Log Message:
-----------
Remove the set-but-not-used variable distance.
Modified Paths:
--------------
brlcad/trunk/src/libbrep/intersect.cpp
Modified: brlcad/trunk/src/libbrep/intersect.cpp
===================================================================
--- brlcad/trunk/src/libbrep/intersect.cpp 2013-06-26 09:17:26 UTC (rev
55851)
+++ brlcad/trunk/src/libbrep/intersect.cpp 2013-06-26 09:21:02 UTC (rev
55852)
@@ -510,7 +510,6 @@
double last_t_a = DBL_MAX*.5, last_t_b = DBL_MAX*.5;
ON_3dPoint pointA = curveA->PointAt(t_a);
ON_3dPoint pointB = curveB->PointAt(t_b);
- double distance = pointA.DistanceTo(pointB);
int iteration = 0;
while (fabs(last_t_a - t_a) + fabs(last_t_b - t_b) > ON_ZERO_TOLERANCE
&& iteration++ < CCI_MAX_ITERATIONS) {
@@ -551,7 +550,6 @@
Delta.Multiply(J, F);
t_a -= Delta[0][0];
t_b -= Delta[1][0];
- distance = pointA.DistanceTo(pointB);
}
}
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