如果你想旋轉 x=5 你應該做一個 glTranslate 至 x=5 不管你的y坐標是什麼,然後做 glRotate 然後 glTranslate 回到原點。 所以像 glTranslate(5, 0, 0); glRotatef(.
確定! 回上一頁