Revision: 57022
http://sourceforge.net/p/brlcad/code/57022
Author: iiizzzaaakkk
Date: 2013-08-21 11:44:11 +0000 (Wed, 21 Aug 2013)
Log Message:
-----------
Added comment explaining the importance of the new constant 1.25 in
rt_hrt_prep()
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/hrt/hrt.c
Modified: brlcad/trunk/src/librt/primitives/hrt/hrt.c
===================================================================
--- brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-08-21 11:14:36 UTC (rev
57021)
+++ brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-08-21 11:44:11 UTC (rev
57022)
@@ -318,6 +318,7 @@
/* compute bounding sphere */
VMOVE(stp->st_center, hrt->hrt_V);
+ /* 1.0 stands for zdir vector and 0.25 takes care of displacement from
upper cusp to highest point of either lobe in the Z direction */
f = hip->zdir[Z] * 1.25;
stp->st_aradius = stp->st_bradius = sqrt(f);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits