From a2606569bb79867d07a075bcf7b05730e4264d72 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 11 Jun 2025 22:58:41 -0630 Subject: use owned instead of borrowed Vec3 more --- azalea-entity/src/dimensions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-entity/src/dimensions.rs') diff --git a/azalea-entity/src/dimensions.rs b/azalea-entity/src/dimensions.rs index 8d9a1eae..8770fa94 100644 --- a/azalea-entity/src/dimensions.rs +++ b/azalea-entity/src/dimensions.rs @@ -12,7 +12,7 @@ impl EntityDimensions { Self { width, height } } - pub fn make_bounding_box(&self, pos: &Vec3) -> AABB { + pub fn make_bounding_box(&self, pos: Vec3) -> AABB { let radius = (self.width / 2.0) as f64; let height = self.height as f64; AABB { -- cgit v1.2.3