FrankD.Luna的《Programming3DGames withDirectX9.0c----AShaderApproach》第9章“颜色”最后的习题第3题的解答。程序运行后,可以通过按数字键0、1、2来切换不同的消隐方式。当前的消隐方式在窗口左上角有显示。具体的操作方法在窗口上方。代码的使用方法参见压缩文件中的ReadMe.txt文件。
ThisisthesolutiontoExercise3ofChapter9,"Color",of Programming3DGameswithDirectX9.0c----AShaderApproachwrittenbyFrankD.Luna.Afterexecuted,theprogramcan
beusedtochangethecullmodebypressingthenumberkeys1,2and3.Thecurrentcullmodeisdisplayedattheupper-left
corneroftheapplicationwindow,andtheinstructionsonhowtousethisapplicationisshownattheupperpartofthewindow.