diff options
| author | mat <git@matdoes.dev> | 2025-12-15 11:14:40 +0930 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-15 11:14:40 +0930 |
| commit | dcbd690f21665e22ea250024a1aa85dec34e6c9e (patch) | |
| tree | 411c76eb92ca1cfe284e56f47bc0abd4079a3364 /azalea-physics/src/clip.rs | |
| parent | b0a2a809331b0f781517649857d31e0aec67d300 (diff) | |
| download | azalea-drasl-dcbd690f21665e22ea250024a1aa85dec34e6c9e.tar.xz | |
sort derives with cargo sort-derives
might add to ci later, unsure how to do it without adding significant friction for contributors though
Diffstat (limited to 'azalea-physics/src/clip.rs')
| -rw-r--r-- | azalea-physics/src/clip.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-physics/src/clip.rs b/azalea-physics/src/clip.rs index 625a709e..cabcd2a6 100644 --- a/azalea-physics/src/clip.rs +++ b/azalea-physics/src/clip.rs @@ -16,7 +16,7 @@ use azalea_world::ChunkStorage; use crate::collision::{BlockWithShape, EMPTY_SHAPE, VoxelShape}; -#[derive(Debug, Clone)] +#[derive(Clone, Debug)] pub struct ClipContext { pub from: Vec3, pub to: Vec3, @@ -58,7 +58,7 @@ impl ClipContext { } } -#[derive(Debug, Copy, Clone)] +#[derive(Clone, Copy, Debug)] pub enum BlockShapeType { /// The shape that's used for collision. Collider, @@ -71,7 +71,7 @@ pub enum BlockShapeType { Visual, FallDamageResetting, } -#[derive(Debug, Copy, Clone)] +#[derive(Clone, Copy, Debug)] pub enum FluidPickType { None, SourceOnly, |
