Revision: 54489
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54489&view=rev
Author:   carlmoore
Date:     2013-02-26 19:25:58 +0000 (Tue, 26 Feb 2013)
Log Message:
-----------
make use of M_SQRT1_2

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

Modified: brlcad/trunk/src/librt/primitives/tgc/tgc.c
===================================================================
--- brlcad/trunk/src/librt/primitives/tgc/tgc.c 2013-02-26 19:23:25 UTC (rev 
54488)
+++ brlcad/trunk/src/librt/primitives/tgc/tgc.c 2013-02-26 19:25:58 UTC (rev 
54489)
@@ -2904,9 +2904,9 @@
     return 0;
 }
 
+/* RAT was defined to be .707107 */
+#define RAT  M_SQRT1_2
 
-#define RAT  .707107
-
 fastf_t nmg_tgc_unitcircle[36] = {
     1.0, 0.0, 0.0, 1.0,
     RAT, -RAT, 0.0, RAT,

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to