[brlcad-commits] SF.net SVN: brlcad:[43656] brlcad/trunk/src/librt/primitives/bot/tie_kdtree .c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2011-03-03 12:11:38
|
Revision: 43656 http://brlcad.svn.sourceforge.net/brlcad/?rev=43656&view=rev Author: starseeker Date: 2011-03-03 12:11:32 +0000 (Thu, 03 Mar 2011) Log Message: ----------- whoops, that should have been in trunk - init min and max Modified Paths: -------------- brlcad/trunk/src/librt/primitives/bot/tie_kdtree.c Modified: brlcad/trunk/src/librt/primitives/bot/tie_kdtree.c =================================================================== --- brlcad/trunk/src/librt/primitives/bot/tie_kdtree.c 2011-03-03 12:10:31 UTC (rev 43655) +++ brlcad/trunk/src/librt/primitives/bot/tie_kdtree.c 2011-03-03 12:11:32 UTC (rev 43656) @@ -303,6 +303,8 @@ struct tie_geom_s *node_gd = (struct tie_geom_s *)(node->data); TIE_3 min, max; TIE_3 center[2], half_size[2]; + VSETALL(min.v, 0.0); + VSETALL(max.v, 0.0); /* * Calculate number of slices to use as a function of triangle density. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |