C++/スクリプト
をテンプレートにして作成
ホーム
検索
最終更新
ヘルプ
Wiki書式ヘルプ(整形ルール)
開始行:
* スクリプト [#a5edfb45]
いつものように妄想という名の遊び。
[[./言語仕様]]
[[./バイトコード]]
[[./オレ言語を作ってみたい人へ]]
[[./メモ]]
#code(D,){{
//-------------------------------------------------------...
module Project.Util.Vector3;
//-------------------------------------------------------...
using Std.Math;
//-------------------------------------------------------...
pod Vector3
{
public:
float length()const
{
return Math.Sqrt( x*x + y*y + z*z );
}
float x;
float y;
float z;
};
//-------------------------------------------------------...
// EOF
}}
終了行:
* スクリプト [#a5edfb45]
いつものように妄想という名の遊び。
[[./言語仕様]]
[[./バイトコード]]
[[./オレ言語を作ってみたい人へ]]
[[./メモ]]
#code(D,){{
//-------------------------------------------------------...
module Project.Util.Vector3;
//-------------------------------------------------------...
using Std.Math;
//-------------------------------------------------------...
pod Vector3
{
public:
float length()const
{
return Math.Sqrt( x*x + y*y + z*z );
}
float x;
float y;
float z;
};
//-------------------------------------------------------...
// EOF
}}
ページ名: