aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/aabb.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-10-01 15:19:13 -0500
committermat <git@matdoes.dev>2023-10-01 15:19:13 -0500
commitbefa33a87950b6d0f3364cb4fe603f6d84bf4b8f (patch)
treeb46f2b76d4f7c66aef05759d33de68d88904c45b /azalea-core/src/aabb.rs
parent33e823d6fab990efaa735c05e4b0c42636003b76 (diff)
downloadazalea-drasl-befa33a87950b6d0f3364cb4fe603f6d84bf4b8f.tar.xz
organize azalea_core and re-export it from azalea
Diffstat (limited to 'azalea-core/src/aabb.rs')
-rwxr-xr-xazalea-core/src/aabb.rs9
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)]