teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

逆かな?

2020/05/28 21:41

投稿

TN8001
TN8001

スコア10111

answer CHANGED
@@ -18,7 +18,7 @@
18
18
  vertex(0, 0, 3, 0, 0);
19
19
  vertex(width / 2, 0, 3, img.width / 2, 0);
20
20
  vertex(width / 2, height, 3, img.width / 2, img.height);
21
- vertex(0, height, 0, 3, img.height);
21
+ vertex(0, height, 3, 0, img.height);
22
22
  endShape();
23
23
 
24
24
  //pushMatrix();