Revision: 54425
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54425&view=rev
Author:   carlmoore
Date:     2013-02-15 21:40:18 +0000 (Fri, 15 Feb 2013)
Log Message:
-----------
we do have pi/2 available as a constant

Modified Paths:
--------------
    brlcad/trunk/src/conv/g-var.c

Modified: brlcad/trunk/src/conv/g-var.c
===================================================================
--- brlcad/trunk/src/conv/g-var.c       2013-02-15 21:27:51 UTC (rev 54424)
+++ brlcad/trunk/src/conv/g-var.c       2013-02-15 21:40:18 UTC (rev 54425)
@@ -182,7 +182,7 @@
 
     if (yup) {
        /* perform 90deg x-axis rotation */
-       float q = -(M_PI/2.0f);
+       float q = -(M_PI_2);
        float y = dest[1];
        float z = dest[2];
        dest[1] = y * cos(q) - z * sin(q);

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