fixed debug overlay

This commit is contained in:
MasterGordon 2023-01-04 14:04:27 +01:00
parent 08249fc196
commit 82fddae704
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class WorldRenderer : IRenderer
{ {
ctx.Renderer.DrawText("" + Math.Round(ChunkGenerator.Noise.coherentNoise( ctx.Renderer.DrawText("" + Math.Round(ChunkGenerator.Noise.coherentNoise(
(chunk.X * Constants.ChunkSize) + x, (chunk.X * Constants.ChunkSize) + x,
(int)(((chunk.Y * Constants.ChunkSize) + y)*0.7), (int)(((chunk.Y * Constants.ChunkSize) + y)*0.6),
0 0
), 4), ), 4),
(drawX - (int)camera.Position.X) * scale, (drawX - (int)camera.Position.X) * scale,