Revision: 55556
http://sourceforge.net/p/brlcad/code/55556
Author: brlcad
Date: 2013-05-23 16:14:43 +0000 (Thu, 23 May 2013)
Log Message:
-----------
talked with some of our s2 users and we're going to go ahead with the new
INFINITY values even though they introduce/expose changes to results. changing
infinity results in slightly different bsp cell traversal (grazing case) but
the object being reported was always on the shotline to begin with. the
decision was to allow this change since the new hits encountered are correct.
Modified Paths:
--------------
brlcad/trunk/include/bu.h
Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h 2013-05-23 15:49:36 UTC (rev 55555)
+++ brlcad/trunk/include/bu.h 2013-05-23 16:14:43 UTC (rev 55556)
@@ -1270,25 +1270,7 @@
* in the biased-exponent field and all 0 bits in the fraction with
* the sign indicating positive (0) or negative (1) infinity.
*/
-
-
-/* !!! this undef is temporarily restored to restore old behavior and
- * !!! force the use of the reversion below - it should disappear when
- * !!! that reversion does. -- CWY, 20130514
- */
-#ifdef INFINITY
-# undef INFINITY
-#endif
-
-
#ifndef INFINITY
-#if 1
-/* !!! this is temporarily reverted to a historic value due to a
- * !!! change it introduces in our spatial partitioning (grazing a tgc
- * !!! that is right on the edge of a BSP cell). -- CSM, 20130424
- */
-# define INFINITY ((fastf_t)1.0e40)
-#else
# if defined(HUGE_VAL)
# define INFINITY ((fastf_t)HUGE_VAL)
# elif defined(HUGE_VALF)
@@ -1306,7 +1288,6 @@
# define INFINITY ((fastf_t)1.0e40)
# endif
#endif
-#endif
/*----------------------------------------------------------------------*/
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_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits