Added world headers

This commit is contained in:
CobaltXII
2018-12-29 15:16:14 -05:00
parent f5a473caf9
commit 284af581e7
2 changed files with 12 additions and 0 deletions

0
src/inc/world.cpp Normal file
View File

12
src/inc/world.hpp Normal file
View File

@@ -0,0 +1,12 @@
// A world struct hold information about a worlds dimensions and block data.
// It makes it easy and efficient to modify and read the properties of every
// voxel it contains.
struct world
{
voxel* voxels;
unsigned int x_res;
unsigned int y_res;
unsigned int z_res;
};