You might want to take a look at Craft[0] which is a simple clone of Minecraft implemented in C, that should get you the basic idea of a voxel engine since the codebase is quite minimal for the available features.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;fogleman&#x2F;Craft" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fogleman&#x2F;Craft</a>