aboutsummaryrefslogtreecommitdiff
path: root/azalea-physics/src/collision/shape.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-physics/src/collision/shape.rs')
-rw-r--r--azalea-physics/src/collision/shape.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-physics/src/collision/shape.rs b/azalea-physics/src/collision/shape.rs
index fedc8a79..36dedb85 100644
--- a/azalea-physics/src/collision/shape.rs
+++ b/azalea-physics/src/collision/shape.rs
@@ -319,7 +319,7 @@ impl Shapes {
}
}
-#[derive(Clone, PartialEq, Debug)]
+#[derive(Clone, Debug, PartialEq)]
pub enum VoxelShape {
Array(ArrayVoxelShape),
Cube(CubeVoxelShape),
@@ -587,7 +587,7 @@ impl From<Aabb> for VoxelShape {
}
}
-#[derive(Clone, PartialEq, Debug)]
+#[derive(Clone, Debug, PartialEq)]
pub struct ArrayVoxelShape {
shape: DiscreteVoxelShape,
// TODO: check where faces is used in minecraft
@@ -599,7 +599,7 @@ pub struct ArrayVoxelShape {
pub zs: Vec<f64>,
}
-#[derive(Clone, PartialEq, Debug)]
+#[derive(Clone, Debug, PartialEq)]
pub struct CubeVoxelShape {
shape: DiscreteVoxelShape,
// TODO: check where faces is used in minecraft