Revision: 44814
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44814&view=rev
Author:   brlcad
Date:     2011-06-08 04:22:51 +0000 (Wed, 08 Jun 2011)

Log Message:
-----------
use M_PI_2 instead of a truncated semblance of pi/2

Modified Paths:
--------------
    brlcad/trunk/src/libbn/mat.c

Modified: brlcad/trunk/src/libbn/mat.c
===================================================================
--- brlcad/trunk/src/libbn/mat.c        2011-06-08 04:21:29 UTC (rev 44813)
+++ brlcad/trunk/src/libbn/mat.c        2011-06-08 04:22:51 UTC (rev 44814)
@@ -128,9 +128,9 @@
     if (x > -1.0e-20 && x < 1.0e-20) {
        /* X is equal to zero, check Y */
        if (y < -1.0e-20)
-           return -3.14159265358979323/2;
+           return -M_PI_2;
        if (y > 1.0e-20)
-           return 3.14159265358979323/2;
+           return M_PI_2;
        return 0.0;
     }
     return atan2(y, x);


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

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to