Revision: 41842
http://brlcad.svn.sourceforge.net/brlcad/?rev=41842&view=rev
Author: erikgreenwald
Date: 2010-12-29 20:47:14 +0000 (Wed, 29 Dec 2010)
Log Message:
-----------
force min/max instead of trusting them to be 0ish
Modified Paths:
--------------
brlcad/branches/bottie/src/librt/primitives/bot/tie_kdtree.c
Modified: brlcad/branches/bottie/src/librt/primitives/bot/tie_kdtree.c
===================================================================
--- brlcad/branches/bottie/src/librt/primitives/bot/tie_kdtree.c
2010-12-29 20:25:08 UTC (rev 41841)
+++ brlcad/branches/bottie/src/librt/primitives/bot/tie_kdtree.c
2010-12-29 20:47:14 UTC (rev 41842)
@@ -141,6 +141,8 @@
g = ((tie_geom_t *)(tie->kdtree->data));
g->tri_num = 0;
g->tri_list = (tie_tri_t **)bu_malloc(sizeof(tie_tri_t *) * tri_num,
__FUNCTION__);
+ VSETALL(tie->min.v, +INFINITY);
+ VSETALL(tie->max.v, -INFINITY);
/* form bounding box of scene */
for (i = 0; i < tri_num; i++) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits