diff --git a/README.md b/README.md new file mode 100644 index 0000000..da53e1b --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# hexworld + +simple tile/voxel engine and testing diff --git a/hexworld/HexRender.cs b/hexworld/HexRender.cs index cf54394..2306ac5 100644 --- a/hexworld/HexRender.cs +++ b/hexworld/HexRender.cs @@ -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; diff --git a/hexworld/Util/Texture.cs b/hexworld/Util/Texture.cs index 7cf5bce..98a6d4e 100644 --- a/hexworld/Util/Texture.cs +++ b/hexworld/Util/Texture.cs @@ -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; diff --git a/hexworld/Util/VBO.cs b/hexworld/Util/VBO.cs index 353dfb4..05fddfa 100644 --- a/hexworld/Util/VBO.cs +++ b/hexworld/Util/VBO.cs @@ -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;