Added world headers
This commit is contained in:
0
src/inc/world.cpp
Normal file
0
src/inc/world.cpp
Normal file
12
src/inc/world.hpp
Normal file
12
src/inc/world.hpp
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user