差分

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

この比較画面へのリンク

次のリビジョン
前のリビジョン
cgfs:perspective [2024/06/11 11:14] – 作成 freemikancgfs:perspective [2024/07/12 03:20] (現在) freemikan
行 1: 行 1:
-<codeprism lang=cpp el=true css=full>+{{:cgfs:perspective_projection-000.png?400|}} 
 + 
 + 
 +<file cpp>
 #include <raylib.h> #include <raylib.h>
  
行 12: 行 15:
 float const Vw = 1.0; float const Vw = 1.0;
 float const Vh = 1.0; float const Vh = 1.0;
-float ProjectionPlaneZ = 1.0;+float const ProjectionPlaneZ = 1.0;
  
 using vec2 = vmath::vec2<float>; using vec2 = vmath::vec2<float>;
行 118: 行 121:
     }     }
 } }
-<codeprism>+</file>
文書の先頭へ