Skip to content

Commit cd5a389

Browse files
committed
bugfix: missing bvh.scale() in voxel collider
1 parent 9c149dc commit cd5a389

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/shape/voxels/voxels.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ impl Voxels {
746746
/// Scale this shape.
747747
pub fn scaled(mut self, scale: Vector) -> Self {
748748
self.voxel_size *= scale;
749+
self.chunk_bvh.scale(scale);
749750
self
750751
}
751752

0 commit comments

Comments
 (0)