我希望把圓錐狀球體的表面上: 我的嘗試是這樣的: // black sphere
initMaterials2();
drawSphere(0.8);
// red cones
int n = 6;
initMaterials();
double angleIncrement = 360/n;
for (int i = 1; i <= n; i++) {
for (int
我試圖讓簡單的紋理,但繼承人出現了一個錯誤: error: 'my_texture' does not name a type 這裏有地方出現它(後右LoadTexture法): GLuint my_texture;
my_texture = LoadTexture("grass.bmp");
這是我的代碼。怎麼了? #include <iostream>
#include <GL/gl.