From a19700554fcb884c0afe240771065b6350bf6be9 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Thu, 21 Jul 2022 18:55:25 -0700 Subject: [PATCH] typo --- NewHorizons/Builder/Body/Geometry/CubeSphere.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewHorizons/Builder/Body/Geometry/CubeSphere.cs b/NewHorizons/Builder/Body/Geometry/CubeSphere.cs index 9e5a2f78..be055ece 100644 --- a/NewHorizons/Builder/Body/Geometry/CubeSphere.cs +++ b/NewHorizons/Builder/Body/Geometry/CubeSphere.cs @@ -132,7 +132,7 @@ namespace NewHorizons.Builder.Body.Geometry float sampleX = heightMap.width * longitude / 360f; float sampleY = heightMap.height * latitude / 180f; - if (sampleX > heightMap.width) sampleX -= heightMap.width; // TODO: find out if this actually doesnt anything + if (sampleX > heightMap.width) sampleX -= heightMap.width; // TODO: find out if this actually does anything float relativeHeight = heightMap.GetPixel((int)sampleX, (int)sampleY).r;