glutSolidCube 、glutSolidSphere等函式在呼叫時會先檢測glut是否被初始化,沒有則直接退出程式。 因此,在WinMain()中加入以下程式碼: int argc = ...
確定! 回上一頁