Revision: 56645
http://sourceforge.net/p/brlcad/code/56645
Author: starseeker
Date: 2013-08-06 20:41:33 +0000 (Tue, 06 Aug 2013)
Log Message:
-----------
Try a zero clamping to see if it helps with ordering sensitivity in the results.
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-06 20:38:33 UTC (rev
56644)
+++ brlcad/trunk/src/other/libgdiam/gdiam.cpp 2013-08-06 20:41:33 UTC (rev
56645)
@@ -1398,6 +1398,8 @@
a.y * c.x - a.x * c.y +
b.x * c.y - c.x * b.y;
+ if (GDIAM_NEAR_ZERO(area)) return 0;
+
//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