回答編集履歴

1

別回答に合わせて角度パラメータをiからtに変更した

2017/02/08 03:15

投稿

matobaa
matobaa

スコア2493

test CHANGED
@@ -34,15 +34,15 @@
34
34
 
35
35
  static int[] yarray = new int[] {265, 253, 225, 197, 185, 197, 225, 253};
36
36
 
37
- int i = 0;
37
+ int t = 0;
38
38
 
39
39
  while (true) {
40
40
 
41
- i = (i+1) % 8;
41
+ t = (t+1) % 8;
42
42
 
43
- x = xarray[i];
43
+ x = xarray[t];
44
44
 
45
- y = yarray[i];
45
+ y = yarray[t];
46
46
 
47
47
  ```
48
48