From a4312599f7c04709a92b7be238dcf577bafbb14f Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 12 Nov 2025 04:26:02 +0330 Subject: cleanup - remove deprecated code - add `[lints] workspace=true` to every Cargo.toml, to make modifying clippy lints easier for later - remove some unnecessary #[allow]s - use Vec3i in some parts of the collision code --- azalea-core/src/delta.rs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'azalea-core/src/delta.rs') diff --git a/azalea-core/src/delta.rs b/azalea-core/src/delta.rs index 50fdeafa..c193649a 100644 --- a/azalea-core/src/delta.rs +++ b/azalea-core/src/delta.rs @@ -19,17 +19,6 @@ pub struct PositionDelta8 { pub za: i16, } -impl PositionDelta8 { - #[deprecated = "Use Self::x, y, z instead"] - pub fn float(&self) -> (f64, f64, f64) { - ( - (self.xa as f64) / 4096.0, - (self.ya as f64) / 4096.0, - (self.za as f64) / 4096.0, - ) - } -} - impl PositionDeltaTrait for PositionDelta8 { fn x(&self) -> f64 { (self.xa as f64) / 4096.0 -- cgit v1.2.3