Replaced VBO with Buffer and SubArray. Program now recieves Buffer, rather than VBO receiving Program. Added VertexDataAttribute for vertex structs.
Split json files to test this functionality.
This commit is contained in:
7
hexworld/data_tile_stone.json
Normal file
7
hexworld/data_tile_stone.json
Normal file
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{ "pos": { "x": 0, "y": 0, "z": 1 } },
|
||||
{ "pos": { "x": 0, "y": 1, "z": 1 } },
|
||||
{ "pos": { "x": 0, "y": -1, "z": 1 } },
|
||||
{ "pos": { "x": -1, "y": 0, "z": 1 } },
|
||||
{ "pos": { "x": 1, "y": 0, "z": 1 } },
|
||||
]
|
||||
Reference in New Issue
Block a user