Merged TODO removal and IDispose addition

This commit is contained in:
2017-02-26 00:36:08 -05:00
4 changed files with 3 additions and 6 deletions

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# hexworld
simple tile/voxel engine and testing

View File

@@ -17,10 +17,7 @@ namespace hexworld
{
private Program _pgm;
// todo: generate texture atlas
// or at least embed sub-uvs and materials into json
private Texture _grass;
private Texture _stone;
private Matrix4 _view;

View File

@@ -10,8 +10,6 @@ using PixelFormat = OpenTK.Graphics.OpenGL4.PixelFormat;
namespace hexworld.Util
{
// todo: this structure doesn't fit GL at all. need to fix it.
// need to reconcile ActiveTexture and BindTexture
public class Texture : GLObject
{
public TextureTarget Target;

View File

@@ -41,7 +41,6 @@ namespace hexworld.Util
VBO.Unbind();
}
// todo: this needs a better solution.
private static readonly int Stride;
private static readonly VertexPointerAttribute[] Attributes;