diff --git a/src/inc/world.cpp b/src/inc/world.cpp new file mode 100644 index 0000000..e69de29 diff --git a/src/inc/world.hpp b/src/inc/world.hpp new file mode 100644 index 0000000..6d59e1b --- /dev/null +++ b/src/inc/world.hpp @@ -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; +}; \ No newline at end of file