diff options
| author | mat <git@matdoes.dev> | 2024-10-26 05:29:26 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-10-26 05:29:26 +0000 |
| commit | 6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f (patch) | |
| tree | 3b65d2984a0cffbe5acb3d44d7e3b8b145c32f95 /azalea-physics/src/collision/blocks.rs | |
| parent | b762575db61cf775d603e11eb2bd27ae13bdc4e9 (diff) | |
| download | azalea-drasl-6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f.tar.xz | |
group imports with rustfmt
Diffstat (limited to 'azalea-physics/src/collision/blocks.rs')
| -rw-r--r-- | azalea-physics/src/collision/blocks.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/azalea-physics/src/collision/blocks.rs b/azalea-physics/src/collision/blocks.rs index 9394bbc7..01784963 100644 --- a/azalea-physics/src/collision/blocks.rs +++ b/azalea-physics/src/collision/blocks.rs @@ -6,11 +6,12 @@ #![allow(clippy::explicit_auto_deref)] #![allow(clippy::redundant_closure)] -use super::VoxelShape; -use crate::collision::{self, Shapes}; use azalea_block::*; use once_cell::sync::Lazy; +use super::VoxelShape; +use crate::collision::{self, Shapes}; + pub trait BlockWithShape { fn shape(&self) -> &'static VoxelShape; /// Tells you whether the block has an empty shape. |
