Revision: 56705
http://sourceforge.net/p/brlcad/code/56705
Author: starseeker
Date: 2013-08-08 21:36:13 +0000 (Thu, 08 Aug 2013)
Log Message:
-----------
Unbelieveable. Simply changing the value being checked here from 1e-9 to 1e-8
causes failures. Need to re-think this.
Modified Paths:
--------------
brlcad/trunk/src/other/libgdiam/gdiam.cpp
Modified: brlcad/trunk/src/other/libgdiam/gdiam.cpp
===================================================================
--- brlcad/trunk/src/other/libgdiam/gdiam.cpp 2013-08-08 21:28:12 UTC (rev
56704)
+++ brlcad/trunk/src/other/libgdiam/gdiam.cpp 2013-08-08 21:36:13 UTC (rev
56705)
@@ -1394,19 +1394,10 @@
{
ldouble area, area1, area2;
- area1 = a.x * b.y - a.y * b.x +
+ area = a.x * b.y - a.y * b.x +
a.y * c.x - a.x * c.y +
b.x * c.y - c.x * b.y;
- area2 = b.x * a.y - b.y * a.x +
- b.y * c.x - b.x * c.y +
- a.x * c.y - c.x * a.y;
-
- if (fabs(area1) < 1e-9 || fabs(area2) < 1e-9) {
- return 0;
- }
-
- area = area1;
//printf( "area: %g\n", area );
return ( ( area < (ldouble)0.0 )? -1:
( (area > (ldouble)0.0)? 1 : 0 ) );
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://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits