Added Mesh class, removed attrib pointer management from Program, shifted to mesh. MUST use Program.UseDefault instead of GL.Use(0) to prevent crash, but meshes can't render with it anyway.
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Mesh.cs" />
|
||||
<Compile Include="Tile.cs" />
|
||||
<Compile Include="Vertex.cs" />
|
||||
<Compile Include="HexRender.cs" />
|
||||
|
||||
Reference in New Issue
Block a user