cleaned up all the code and updated
This commit is contained in:
@@ -1,10 +1,4 @@
|
|||||||
using System;
|
namespace Voxel
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
|
||||||
{
|
{
|
||||||
public class BlockData
|
public class BlockData
|
||||||
{
|
{
|
||||||
|
|||||||
12
Blocks.cs
12
Blocks.cs
@@ -1,10 +1,4 @@
|
|||||||
using System;
|
namespace Voxel
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
|
||||||
{
|
{
|
||||||
public enum Blocks : byte
|
public enum Blocks : byte
|
||||||
{
|
{
|
||||||
@@ -12,7 +6,7 @@ namespace Voxel
|
|||||||
Stone = 1,
|
Stone = 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum Orientation: uint
|
public enum Orientation : uint
|
||||||
{
|
{
|
||||||
West = 0, // + X
|
West = 0, // + X
|
||||||
East = 1, // - X
|
East = 1, // - X
|
||||||
@@ -22,7 +16,7 @@ namespace Voxel
|
|||||||
South = 5, // - Z
|
South = 5, // - Z
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum Texture: uint
|
public enum Texture : uint
|
||||||
{
|
{
|
||||||
Stone = 1
|
Stone = 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using OpenTK.Mathematics;
|
using OpenTK.Mathematics;
|
||||||
using System.Security.Cryptography;
|
|
||||||
|
|
||||||
namespace Voxel
|
namespace Voxel
|
||||||
{
|
{
|
||||||
|
|||||||
8
Chunk.cs
8
Chunk.cs
@@ -1,10 +1,4 @@
|
|||||||
using System;
|
namespace Voxel
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
|
||||||
{
|
{
|
||||||
public class Chunk
|
public class Chunk
|
||||||
{
|
{
|
||||||
|
|||||||
10
ChunkMesh.cs
10
ChunkMesh.cs
@@ -1,10 +1,4 @@
|
|||||||
using System;
|
namespace Voxel
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
|
||||||
{
|
{
|
||||||
public class ChunkMesh
|
public class ChunkMesh
|
||||||
{
|
{
|
||||||
@@ -17,7 +11,7 @@ namespace Voxel
|
|||||||
|
|
||||||
private void MeshBlock(int i)
|
private void MeshBlock(int i)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
using System;
|
namespace Voxel
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
|
||||||
{
|
{
|
||||||
static class ChunkMesher
|
static class ChunkMesher
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
using System;
|
using System.Runtime.InteropServices;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
namespace Voxel
|
||||||
{
|
{
|
||||||
|
|||||||
5
Input.cs
5
Input.cs
@@ -1,9 +1,4 @@
|
|||||||
using OpenTK.Windowing.GraphicsLibraryFramework;
|
using OpenTK.Windowing.GraphicsLibraryFramework;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
namespace Voxel
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
using OpenTK.Graphics.OpenGL4;
|
using OpenTK.Graphics.OpenGL4;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
namespace Voxel
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
using OpenTK.Graphics.OpenGL4;
|
using OpenTK.Graphics.OpenGL4;
|
||||||
using OpenTK.Mathematics;
|
using OpenTK.Mathematics;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection.Metadata;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
namespace Voxel
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
using OpenTK.Graphics.OpenGL4;
|
using OpenTK.Graphics.OpenGL4;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Voxel
|
namespace Voxel
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user