ユーザ用ツール

サイト用ツール


cgfs:draw_lines

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
cgfs:draw_lines [2024/06/11 11:12] – 作成 freemikancgfs:draw_lines [2024/07/12 03:19] (現在) freemikan
行 1: 行 1:
-<codeprism lang=cpp el=true css=full>+{{:cgfs:lines-000.png?400|}} 
 + 
 +<file cpp>
 #include <raylib.h> #include <raylib.h>
  
行 73: 行 75:
  
 int main() { int main() {
-    InitWindow(Cw, Ch, "Draw Lines");+    InitWindow(Cw, Ch, "Shaded Triangles");
  
     vec2 p0{0, 0};     vec2 p0{0, 0};
行 86: 行 88:
  
         ClearBackground(RAYWHITE);         ClearBackground(RAYWHITE);
 +
         DrawLine(p0, p1, GREEN);         DrawLine(p0, p1, GREEN);
         DrawLine(p2, p3, BLUE);         DrawLine(p2, p3, BLUE);
行 93: 行 96:
     }     }
 } }
-</codeprism>+</file>
  
cgfs/draw_lines.1718071923.txt.gz · 最終更新: 2024/06/11 11:12 by freemikan

特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki