From 8db5e7a4a840a70218d88987ff9c98a40bbfb3f4 Mon Sep 17 00:00:00 2001 From: Tomaso2468 <48136416+Tomaso2468@users.noreply.github.com> Date: Thu, 25 Jan 2024 13:03:11 +0000 Subject: [PATCH] Fix down looping in CubeSpherePoint. --- src/sphere.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sphere.rs b/src/sphere.rs index d781ead..1ec7939 100644 --- a/src/sphere.rs +++ b/src/sphere.rs @@ -487,7 +487,7 @@ impl GridPoint for CubeSpherePoint { Self { face: CubeFace::Top, x: self.x, - y: S as u16 + 1, + y: 0, } } else { Self {