diff options
| author | mat <git@matdoes.dev> | 2023-10-01 15:19:13 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-10-01 15:19:13 -0500 |
| commit | befa33a87950b6d0f3364cb4fe603f6d84bf4b8f (patch) | |
| tree | b46f2b76d4f7c66aef05759d33de68d88904c45b /azalea-core/src/aabb.rs | |
| parent | 33e823d6fab990efaa735c05e4b0c42636003b76 (diff) | |
| download | azalea-drasl-befa33a87950b6d0f3364cb4fe603f6d84bf4b8f.tar.xz | |
organize azalea_core and re-export it from azalea
Diffstat (limited to 'azalea-core/src/aabb.rs')
| -rwxr-xr-x | azalea-core/src/aabb.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/azalea-core/src/aabb.rs b/azalea-core/src/aabb.rs index 7ad4a657..61b015cb 100755 --- a/azalea-core/src/aabb.rs +++ b/azalea-core/src/aabb.rs @@ -1,6 +1,9 @@ -use crate::{Axis, BlockHitResult, BlockPos, Direction, Vec3}; - -pub const EPSILON: f64 = 1.0E-7; +use crate::{ + block_hit_result::BlockHitResult, + direction::{Axis, Direction}, + math::EPSILON, + position::{BlockPos, Vec3}, +}; /// A rectangular prism with a starting and ending point. #[derive(Copy, Clone, Debug, PartialEq, Default)] |
