Revision: 54427
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54427&view=rev
Author:   carlmoore
Date:     2013-02-15 21:51:33 +0000 (Fri, 15 Feb 2013)
Log Message:
-----------
pi/2 usage

Modified Paths:
--------------
    brlcad/trunk/src/irprep/all_sf.c
    brlcad/trunk/src/irprep/shapefact.c

Modified: brlcad/trunk/src/irprep/all_sf.c
===================================================================
--- brlcad/trunk/src/irprep/all_sf.c    2013-02-15 21:45:08 UTC (rev 54426)
+++ brlcad/trunk/src/irprep/all_sf.c    2013-02-15 21:51:33 UTC (rev 54427)
@@ -364,7 +364,7 @@
            strtdir[Z] = rho * cos(phi);
 
            /*  Elevation & azimuth for finding a vector in a plane.  */
-           elev = M_PI / 2. - phi;
+           elev = M_PI_2 - phi;
            az = theta;
 
            /*  Find vector in yz-plane.  */

Modified: brlcad/trunk/src/irprep/shapefact.c
===================================================================
--- brlcad/trunk/src/irprep/shapefact.c 2013-02-15 21:45:08 UTC (rev 54426)
+++ brlcad/trunk/src/irprep/shapefact.c 2013-02-15 21:51:33 UTC (rev 54427)
@@ -429,7 +429,7 @@
             */
 
            /*  Elevation and azimuth for finding a vector in a plane.  */
-           elev = M_PI / 2. - phi;
+           elev = M_PI_2 - phi;
            az = theta;
            /*
             *     printf("elevation:  %f, azimuth:  %f\n", elev, az);

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


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to