XNA, how to draw two cubes standing in line parallelly?
- by user3535716
I just got a problem with drawing two 3D cubes standing in line. In my code, I made a cube class, and in the game1 class, I built two cubes, A on the right side, B on the left side. I also setup an FPS camera in the 3D world.
The problem is if I draw cube B first(Blue), and move the camera to the left side to cube B, A(Red) is still standing in…