Creating a Cube-based 3-Dimensional Game
问题 This question was migrated from Mathematics Stack Exchange because it can be answered on Stack Overflow. Migrated 5 years ago . I am trying to create a 3-dimensional game that is based entirely off of cubes of the exact same size. I wanted to learn how to make my own 3-dimensional game using only 2-dimensional game libraries. Currently, the way I am doing is that I have an array storing the locations of all the centers of each cube in the game. Then, when drawing a single cube, I figure out