Revision: 54401
http://brlcad.svn.sourceforge.net/brlcad/?rev=54401&view=rev
Author: carlmoore
Date: 2013-02-14 17:08:04 +0000 (Thu, 14 Feb 2013)
Log Message:
-----------
use DEG2RAD instead of having to recompute it
Modified Paths:
--------------
brlcad/trunk/src/libged/view_obj.c
Modified: brlcad/trunk/src/libged/view_obj.c
===================================================================
--- brlcad/trunk/src/libged/view_obj.c 2013-02-14 16:43:16 UTC (rev 54400)
+++ brlcad/trunk/src/libged/view_obj.c 2013-02-14 17:08:04 UTC (rev 54401)
@@ -685,7 +685,8 @@
{
mat_t m2, tran;
- fovy *= 3.1415926535/180.0;
+/* fovy *= 3.1415926535/180.0; */
+ fovy *= DEG2RAD;
MAT_IDN(m2);
m2[5] = cos(fovy/2.0) / sin(fovy/2.0);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits