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+ 温故知新
レスを投稿する
ニュース
- 中国の王毅外相、高市首相の台湾巡る答弁は「レッドラインを越えた」 [どどん★]
- 【コメ】やっぱり進次郎のほうがマシ…「コメの値下げは無理」と言い張る農林族の鈴木農水大臣 ★2 [ぐれ★]
- 【小学校24歳男性教師】酒に酔って車盗み、海にダイブ、ズブ濡れで車乗り捨て、別の車で朝まで爆睡「仕事があり早く帰りたかった」北海道 [ぐれ★]
- 【相撲】九州場所千秋楽 関脇・安青錦が初優勝 優勝決定戦で豊昇龍破る 所要14場所は史上2位のスピード記録 [ニーニーφ★]
- 【速報】 中国国営新聞社 「日本はすでに代価を支払った」 中国SNSで1位に 高市総理の発言めぐり ★4 [お断り★]
- 【外交】中国王毅外相「日本軍国主義の復活を決して許さない」★2 [1ゲットロボ★]
- 巨専】ジャイアンツファンフェスタ2025
- 競輪実況★1607
- とらせん 2
- 【DAZN】フォーミュラGP【F1 2 3 SF P】Lap1809
- こいせん 全レス転載禁止 SHAKARIKI
- 他サポ2025-266
- 【実況】博衣こよりのえちえちホロ食べず嫌い王🧪 ★2
- 【悲報】ツイッター愛国アカウント、続々と外国産だということが判明 つまり愛国者は外国人ということ? ★2 [158478931]
- 【んな専🏡】んなたん(・o・🍬)アソビ大全配信実況スレ🏰【ホロライブ▶】
- 高市早苗、G20会場で浮いてしまう 上目遣いで他国首脳にアピールするも効果ゼロ [165981677]
- 皆で雑談しよーや
- 外務省「意味のない敵国条項だよ」 [834922174]
