3Dも充実のC言語上位互換オブジェクト指向プログラミング言語
eC ( Ecere C ) について語りましょう
http://ec-lang.org/
SDK
http://ecere.org/
source
https://github.com/ecere/ecere-sdk
探検
【Ecere C】 eC 【C上位互換】©2ch.net
2016/08/22(月) 13:59:35.39ID:01M+MFvA
2016/08/22(月) 14:00:44.83ID:01M+MFvA
https://en.wikipedia.org/wiki/EC_%28programming_language%29
overview
http://ec-lang.org/overview/
programming guide
http://ecere.com/tao.pdf
overview
http://ec-lang.org/overview/
programming guide
http://ecere.com/tao.pdf
2016/08/22(月) 14:04:17.89ID:01M+MFvA
class HelloApp : Application
{
void Main()
{
PrintLn("Hello, World!!");
}
}
{
void Main()
{
PrintLn("Hello, World!!");
}
}
2016/08/22(月) 14:19:04.79ID:01M+MFvA
import "ecere"
class MyApp : GuiApplication{ driver = "OpenGL"; };
Camera camera{ fixed, position = Vector3D { 0, 0, -350 }, orientation = Euler { 0, 0, 0 }, fov = 53; };
Light light{ diffuse = lightCoral; orientation = Euler { pitch = 10, yaw = 30 }; };
class Hello3D : Window{
text = "Hello, 3D"; background = black; borderStyle = sizable;
hasMaximize = true; hasMinimize = true; hasClose = true;
clientSize = { 304, 162 };
Cube cube{};
bool OnLoadGraphics(){
cube.Create(displaySystem);
cube.transform.scaling = { 100, 100, 100 };
cube.transform.orientation = Euler { 50, 30, 50 };
cube.UpdateTransform();
return true;
}
void OnResize(int w, int h){
camera.Setup(w, h, null);
camera.Update();
}
void OnRedraw(Surface surface){
surface.Clear(depthBuffer);
display.SetLight(0, light);
display.SetCamera(surface, camera);
display.DrawObject(cube);
display.SetCamera(surface, null);
}
}
Hello3D hello3D {};
class MyApp : GuiApplication{ driver = "OpenGL"; };
Camera camera{ fixed, position = Vector3D { 0, 0, -350 }, orientation = Euler { 0, 0, 0 }, fov = 53; };
Light light{ diffuse = lightCoral; orientation = Euler { pitch = 10, yaw = 30 }; };
class Hello3D : Window{
text = "Hello, 3D"; background = black; borderStyle = sizable;
hasMaximize = true; hasMinimize = true; hasClose = true;
clientSize = { 304, 162 };
Cube cube{};
bool OnLoadGraphics(){
cube.Create(displaySystem);
cube.transform.scaling = { 100, 100, 100 };
cube.transform.orientation = Euler { 50, 30, 50 };
cube.UpdateTransform();
return true;
}
void OnResize(int w, int h){
camera.Setup(w, h, null);
camera.Update();
}
void OnRedraw(Surface surface){
surface.Clear(depthBuffer);
display.SetLight(0, light);
display.SetCamera(surface, camera);
display.DrawObject(cube);
display.SetCamera(surface, null);
}
}
Hello3D hello3D {};
5デフォルトの名無しさん
2016/08/22(月) 14:20:35.05ID:01M+MFvA 3D chess
https://github.com/ecere/chess
https://github.com/ecere/chess
2016/08/22(月) 14:27:21.44ID:01M+MFvA
home
http://ecere.ca/
http://ecere.ca/
7デフォルトの名無しさん
2016/08/22(月) 14:47:18.47ID:4NfjAqKu >>1乙
20年前からあんのけ
20年前からあんのけ
8デフォルトの名無しさん
2016/08/22(月) 14:54:45.81ID:BU34MwbZ Java っぽいど
2016/08/22(月) 14:57:59.80ID:uRoHQz5P
juliaより使い易いんけ?
Cの既存ライブラリの呼び方は?
Cの既存ライブラリの呼び方は?
2016/08/22(月) 15:25:11.42ID:L7VFY2TJ
2016/08/23(火) 13:36:05.39ID:L6g6HWhG
>1
乙
乙
2016/08/25(木) 10:38:09.54ID:2ugLHJjt
なぜ今さら取り上げたし
2016/08/25(木) 19:53:48.56ID:nB0w5Xyn
まさに今更感
14デフォルトの名無しさん
2016/08/26(金) 15:22:59.76ID:WnsDsp7+ 温故知新
15デフォルトの名無しさん
2016/08/28(日) 14:10:24.58ID:ZU3e5ILB まんまJavaやん
レスを投稿する
ニュース
- 【子ども・子育て支援金】来年4月から徴収、月収50万円なら月600円程度…健保連試算 [蚤の市★]
- 高市首相告白「『なめられない服』を選ぶことに数時間を費やしました」「外交交渉でマウント取れる服、買わなくてはいかんかもなぁ」★4 [ぐれ★]
- 熊恐れ外出控え、飲食店苦慮 秋田、盛岡で売り上げ半減 「コロナ禍並みの状況」 [蚤の市★]
- 【札幌】「アニメのキャラのまねをするためだった」上半身はダウンジャケット・下半身はスッポンポン…43歳無職の男を逮捕 [nita★]
- 「加熱式たばこ」の受動喫煙、「紙巻き」同様の対策強化を検討へ…厚労省の専門委が議論スタート [蚤の市★]
- 【芸能】篠田麻里子「水戸黄門」のオフショット公開!「くの一姿が可愛い」「うっひゃー」「スケさんカクさんが羨ましい!」 [湛然★]
- 「加熱式たばこ」、「紙巻き」同様の対策強化を検討へ…厚労省の専門委が議論スタート [668970678]
- 竹中平蔵氏、万博を批判していた人たちにチクリ「反省の弁聞きたい」 [686538148]
- 【速報】高市早苗、G20サミット”社長出勤” [614650719]
- 【速報】高市、今度はロシアに喧嘩を売る [329271814]
- 京都のホテル、暴落wwwwwwwwwwwwwwwwwwwwwwwwwwwww [329329848]
- 【📛専】とうふさんすこすこ😊👎スレッド【とうふゲームズ🏡】
