From 70e2dfed16da8d5130460ea15b47701e622f4a9f Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 8 Dec 2022 18:39:35 -0600 Subject: wrap_comments = true --- azalea-core/src/position.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'azalea-core/src/position.rs') diff --git a/azalea-core/src/position.rs b/azalea-core/src/position.rs index 6c18d147..ea54c60c 100755 --- a/azalea-core/src/position.rs +++ b/azalea-core/src/position.rs @@ -126,7 +126,8 @@ pub struct BlockPos { vec3_impl!(BlockPos, i32); impl BlockPos { - /// Get the absolute center of a block position by adding 0.5 to each coordinate. + /// Get the absolute center of a block position by adding 0.5 to each + /// coordinate. pub fn center(&self) -> Vec3 { Vec3 { x: self.x as f64 + 0.5, @@ -176,7 +177,8 @@ impl ChunkBlockPos { } } -/// The coordinates of a block inside a chunk section. Each coordinate must be in the range [0, 15]. +/// The coordinates of a block inside a chunk section. Each coordinate must be +/// in the range [0, 15]. #[derive(Clone, Debug, Default, PartialEq, Eq)] pub struct ChunkSectionBlockPos { pub x: u8, -- cgit v1.2.3