XNA 4 3D Game Development by Example:Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Drawing the floor

Now that we have defined all of the triangles that will make up the checker-boarded floor for our maze, let's go ahead and complete the code necessary to draw the floor to the screen.