From ee7358ebc2d3a033b48b3a97af4255e1efba9ef9 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 7 May 2026 01:42:52 -0330 Subject: correct shapes for blocks with random offsets --- azalea-physics/src/collision/shape.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'azalea-physics/src/collision/shape.rs') diff --git a/azalea-physics/src/collision/shape.rs b/azalea-physics/src/collision/shape.rs index 13c2f0d6..c89a08ed 100644 --- a/azalea-physics/src/collision/shape.rs +++ b/azalea-physics/src/collision/shape.rs @@ -326,14 +326,6 @@ pub enum VoxelShape { } impl VoxelShape { - // public double min(Direction.Axis var1) { - // int var2 = this.shape.firstFull(var1); - // return var2 >= this.shape.getSize(var1) ? 1.0D / 0.0 : this.get(var1, - // var2); } - // public double max(Direction.Axis var1) { - // int var2 = this.shape.lastFull(var1); - // return var2 <= 0 ? -1.0D / 0.0 : this.get(var1, var2); - // } fn min(&self, axis: Axis) -> f64 { let first_full = self.shape().first_full(axis); if first_full >= self.shape().size(axis) as i32 { -- cgit v1.2.3