Merged TODO removal and IDispose addition
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user