A voxel based game engine