[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29589] branches/soc-2010-jwilkins/source/ blender/blenlib: no functional changes

Jason Wilkins Jason.A.Wilkins at gmail.com
Mon Jun 21 13:03:53 CEST 2010


Revision: 29589
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29589
Author:   jwilkins
Date:     2010-06-21 13:03:51 +0200 (Mon, 21 Jun 2010)

Log Message:
-----------
no functional changes
* couple of functions that I may be using in the future to optimize bounding box recalculation

Modified Paths:
--------------
    branches/soc-2010-jwilkins/source/blender/blenlib/BLI_pbvh.h
    branches/soc-2010-jwilkins/source/blender/blenlib/intern/pbvh.c

Modified: branches/soc-2010-jwilkins/source/blender/blenlib/BLI_pbvh.h
===================================================================
--- branches/soc-2010-jwilkins/source/blender/blenlib/BLI_pbvh.h	2010-06-21 09:02:56 UTC (rev 29588)
+++ branches/soc-2010-jwilkins/source/blender/blenlib/BLI_pbvh.h	2010-06-21 11:03:51 UTC (rev 29589)
@@ -231,5 +231,8 @@
 PBVHProxyNode* BLI_pbvh_node_add_proxy(PBVH* bvh, PBVHNode* node);
 void BLI_pbvh_gather_proxies(PBVH* pbvh, PBVHNode*** nodes,  int* totnode);
 
+//void BLI_pbvh_node_BB_reset(PBVHNode* node);
+//void BLI_pbvh_node_BB_expand(PBVHNode* node, float co[3]);
+
 #endif /* BLI_PBVH_H */
 

Modified: branches/soc-2010-jwilkins/source/blender/blenlib/intern/pbvh.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/blenlib/intern/pbvh.c	2010-06-21 09:02:56 UTC (rev 29588)
+++ branches/soc-2010-jwilkins/source/blender/blenlib/intern/pbvh.c	2010-06-21 11:03:51 UTC (rev 29589)
@@ -227,6 +227,17 @@
 	node->vb= vb;
 }
 
+//void BLI_pbvh_node_BB_reset(PBVHNode* node)
+//{
+//	BB_reset(&node->vb);
+//}
+//
+//void BLI_pbvh_node_BB_expand(PBVHNode* node, float co[3])
+//{
+//	BB_expand(&node->vb, co);
+//}
+
+
 /* Adapted from BLI_kdopbvh.c */
 /* Returns the index of the first element on the right of the partition */
 static int partition_indices(int *prim_indices, int lo, int hi, int axis,





More information about the Bf-blender-cvs mailing list