回答編集履歴
5
文の改善
test
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
|
44
44
|
|
45
|
-
printf("%d\n",r);
|
45
|
+
printf("%ld\n",r);
|
46
46
|
|
47
47
|
|
48
48
|
|
4
文の改善
test
CHANGED
@@ -38,13 +38,11 @@
|
|
38
38
|
|
39
39
|
|
40
40
|
|
41
|
-
glLoadIdentity();
|
42
|
-
|
43
|
-
//gluLookAt(3.0,4.0,5.0,0.0,0.0,0.0,0.0,1.0,0.0);
|
44
41
|
|
45
42
|
|
46
43
|
|
44
|
+
|
47
|
-
|
45
|
+
printf("%d\n",r);
|
48
46
|
|
49
47
|
|
50
48
|
|
3
文の改善
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
```opengl
|
2
2
|
|
3
|
-
[なんかいろいろ引用しました](https://seesaawiki.jp/w/mikk_ni3_92/d/%a5%a2%a5%cb%a5%e1%a1%bc%a5%b7%a5%e7%a5%f3)
|
3
|
+
[なんかいろいろ引用してアニメーションにしました。](https://seesaawiki.jp/w/mikk_ni3_92/d/%a5%a2%a5%cb%a5%e1%a1%bc%a5%b7%a5%e7%a5%f3)
|
4
4
|
|
5
5
|
|
6
6
|
|
2
文の改善
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
void disp( void ) {
|
32
32
|
|
33
|
-
static
|
33
|
+
static double r=0.0;
|
34
34
|
|
35
35
|
|
36
36
|
|
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
-
glRotated(
|
51
|
+
glRotated(r,0,1,0);
|
52
52
|
|
53
53
|
|
54
54
|
|
1
文の改善
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
-
glRotated((double)r,0,1,0);
|
51
|
+
glRotated((double)r,0,1,0);
|
52
52
|
|
53
53
|
|
54
54
|
|