Revision: 52803
          http://brlcad.svn.sourceforge.net/brlcad/?rev=52803&view=rev
Author:   r_weiss
Date:     2012-10-04 20:59:44 +0000 (Thu, 04 Oct 2012)
Log Message:
-----------
Updated function "Quadrant" in file "nmg_pt_fu.c". Removed 0.0 float compares.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c

Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c   2012-10-04 20:53:45 UTC 
(rev 52802)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c   2012-10-04 20:59:44 UTC 
(rev 52803)
@@ -249,13 +249,13 @@
 static int
 Quadrant(fastf_t x, fastf_t y)
 {
-    if (x >= 0.0) {
-       if (y >= 0.0)
+    if (x > -SMALL_FASTF) {
+       if (y > -SMALL_FASTF)
            return 1;
        else
            return 4;
     } else {
-       if (y >= 0.0)
+       if (y > -SMALL_FASTF)
            return 2;
        else
            return 3;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to