pub unsafe extern "C" fn PxBVH_updateBounds_mut(
    self_: *mut PxBVH,
    boundsIndex: u32,
    newBounds: *const PxBounds3
) -> bool
Expand description

Update single bounds.

This is an alternative to getBoundsForModification() / refit(). If you only have a small set of bounds to update, it can be inefficient to call the refit() function, because it refits the whole BVH.

Instead, one can update individual bounds with this updateBounds() function. It sets the new bounds and marks the corresponding BVH nodes for partial refit. Once all the individual bounds have been updated, call partialRefit() to only refit the subset of marked nodes.

true if success