Revision: 55040
          http://brlcad.svn.sourceforge.net/brlcad/?rev=55040&view=rev
Author:   brlcad
Date:     2013-04-04 04:22:52 +0000 (Thu, 04 Apr 2013)
Log Message:
-----------
it's a fastf_t array, awkward to set integer literals

Modified Paths:
--------------
    brlcad/trunk/src/libged/analyze.c

Modified: brlcad/trunk/src/libged/analyze.c
===================================================================
--- brlcad/trunk/src/libged/analyze.c   2013-04-04 04:18:01 UTC (rev 55039)
+++ brlcad/trunk/src/libged/analyze.c   2013-04-04 04:22:52 UTC (rev 55040)
@@ -713,13 +713,13 @@
     if ((f = cos(angles[4])) > 1.0e-16 || f < -1.0e-16) {
        f = unitv[X]/f;
        if (f <= -1.0)
-           angles[3] = 180;
+           angles[3] = 180.0;
        else if (f >= 1.0)
-           angles[3] = 0;
+           angles[3] = 0.0;
        else
            angles[3] = bn_radtodeg * acos(f);
     } else
-       angles[3] = 0;
+       angles[3] = 0.0;
 
     if (unitv[Y] < 0)
        angles[3] = 360.0 - angles[3];

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


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to