Code cleanups for the PBVH, no functional changes.
authorNicholas Bishop <nicholasbishop@gmail.com>
Sun, 10 Jun 2012 16:37:22 +0000 (16:37 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sun, 10 Jun 2012 16:37:22 +0000 (16:37 +0000)
commitfa1d458b19a077eff5a258d6933d5f1eb801e019
treede018b9c6ff950832d354a716e14d20d21230f16
parentdc3645df1abab8c9d1fd93cfbab9688f2baf6ebc
Code cleanups for the PBVH, no functional changes.

* Use the PBVHType consistently in pbvh_update_draw_buffers().

* Split the raycast function up, mesh and grid raycast get their own
  functions now.

* Replace duplicated code in BLI_pbvh_node_add_proxy() with call to
  BLI_pbvh_node_num_verts().
source/blender/blenlib/BLI_pbvh.h
source/blender/blenlib/intern/pbvh.c