Revision: 55255
http://sourceforge.net/p/brlcad/code/55255
Author: bob1961
Date: 2013-04-26 11:27:29 +0000 (Fri, 26 Apr 2013)
Log Message:
-----------
Added RAD2DEG as well as more precision to the value of DEG2RAD. Note - adding
RAD2DEG fixes a bug in the pattern tool.
Modified Paths:
--------------
brlcad/trunk/src/tclscripts/vmath.tcl
Modified: brlcad/trunk/src/tclscripts/vmath.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/vmath.tcl 2013-04-26 10:03:58 UTC (rev
55254)
+++ brlcad/trunk/src/tclscripts/vmath.tcl 2013-04-26 11:27:29 UTC (rev
55255)
@@ -38,7 +38,8 @@
set M_2_SQRTPI 1.12837916709551257389615890312
set M_SQRT2 1.41421356237309504880168872421
set M_SQRT1_2 0.70710678118654752440084436210
-set DEG2RAD 0.017453292519943295769236907684
+set DEG2RAD 0.0174532925199432957692369076848861271
+set RAD2DEG 57.2957795130823208767981548141051703
proc init_vmath {} {
# this routine does nothing except ensure that the above global variables
get set
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits