aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/delta.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-11-12 04:26:02 +0330
committermat <git@matdoes.dev>2025-11-11 18:56:14 -0600
commita4312599f7c04709a92b7be238dcf577bafbb14f (patch)
treebef58dca34239bac54649ab1e0db2597de10212c /azalea-core/src/delta.rs
parentac2b425615dd6cd8562c290e33b06e553559802d (diff)
downloadazalea-drasl-a4312599f7c04709a92b7be238dcf577bafbb14f.tar.xz
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
Diffstat (limited to 'azalea-core/src/delta.rs')
-rw-r--r--azalea-core/src/delta.rs11
1 files changed, 0 insertions, 11 deletions
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