Revision: 55224
http://sourceforge.net/p/brlcad/code/55224
Author: brlcad
Date: 2013-04-24 16:54:43 +0000 (Wed, 24 Apr 2013)
Log Message:
-----------
it's strongly looking like the INIFINTY change uncovered a bug in our spatial
partioning code, but revert it for now with a TODO in order to get a new
release pushed out.
Modified Paths:
--------------
brlcad/trunk/TODO
brlcad/trunk/include/bu.h
Modified: brlcad/trunk/TODO
===================================================================
--- brlcad/trunk/TODO 2013-04-24 16:36:55 UTC (rev 55223)
+++ brlcad/trunk/TODO 2013-04-24 16:54:43 UTC (rev 55224)
@@ -28,7 +28,9 @@
* closing the graphics window brings down X11 on Mac due to a bad
context. fix or revert recent close window behavior.
+* investigate INFINITY spatial partitioning issue.
+
THESE TASKS SHOULD HAPPEN WITHIN TWO RELEASE ITERATIONS
-------------------------------------------------------
Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h 2013-04-24 16:36:55 UTC (rev 55223)
+++ brlcad/trunk/include/bu.h 2013-04-24 16:54:43 UTC (rev 55224)
@@ -1271,6 +1271,13 @@
* the sign indicating positive (0) or negative (1) infinity.
*/
#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)
@@ -1288,6 +1295,7 @@
# 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_apr
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits