This is just a bit more ergonomic and works a bit better with our C++ math vector types. Also, during PBVH build, don't store the center of each triangle/grid. That's redundant and can always be recalculated from the bounds.
This is just a bit more ergonomic and works a bit better with our C++ math vector types. Also, during PBVH build, don't store the center of each triangle/grid. That's redundant and can always be recalculated from the bounds.