我在遊戲中使用遊戲手柄作爲輸入,並且我想通過按鍵移動相機。這可以工作,但相機不會繼續移動,除非我釋放遊戲手柄並再次按下它。如何使相機在按下按鍵的情況下繼續移動? 這裏是我的手柄FUNC: void gamepad (unsigned int buttonMask, int x, int y, int z){
//left
if(x<-7){
moveLeftSw
我目前在玩NDK for android,嘗試OpenGL ES 2.0功能。但我不知道如何將圖像加載到OpenGL紋理中。我的計劃是發送一個帶有本地函數調用的位圖,然後使用GLUt創建一個紋理。那麼,我如何在android平臺上的本機代碼中使用GLUt? 或者這是他錯了嗎? (對不起英語不好)。 Thanx提前!
這是我得到的輸出和 'abc.exe': Loaded 'C:\Windows\system\glut32.dll', Binary was not built with debug information. ' 'abc.exe': Loaded 'C:\Windows\System32\glew32.dll', Binary was not built with debug informati