style: drop redundant type qualifiers, use explicit types (IDE cleanup)

Pure formatting from the IDE's code cleanup: remove redundant ClassName./namespace qualifiers and replace var with explicit types. No behavior change.
This commit is contained in:
MDietermann
2026-06-03 16:26:32 +02:00
parent 102d8166aa
commit 9193df2710
6 changed files with 18 additions and 18 deletions

View File

@@ -2,7 +2,7 @@ using OpenTK.Graphics.OpenGL4;
namespace VoxelEngine.Rendering;
public sealed class ChunkRenderer : VoxelEngine.World.Streaming.IChunkRenderer
public sealed class ChunkRenderer : World.Streaming.IChunkRenderer
{
private const int FloatsPerVertex = 6; // pos.xyz, uv, shade
@@ -12,8 +12,8 @@ public sealed class ChunkRenderer : VoxelEngine.World.Streaming.IChunkRenderer
public ChunkRenderer(float[] vertices)
{
this._vertexCount = vertices.Length / ChunkRenderer.FloatsPerVertex;
int stride = ChunkRenderer.FloatsPerVertex * sizeof(float);
this._vertexCount = vertices.Length / FloatsPerVertex;
int stride = FloatsPerVertex * sizeof(float);
this._vao = GL.GenVertexArray();
GL.BindVertexArray(this._vao);