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やん
2016/08/29(月) 14:35:33.86ID:NKz4PvZo
Rust でよくね
レスを投稿する
ニュース
- 台湾有事での集団的自衛権行使に「賛成」が48.8%、「反対」が44.2% ★4 [♪♪♪★]
- 高市早苗首相、独自貫いた1カ月 会食ゼロ、議員宿舎で勉強漬け「飲んでる暇があれば、政策を練り、資料を読みたい」 [Hitzeschleier★]
- 【MLB】大谷翔平、山本由伸、佐々木朗希WBC出場辞退が確実に! トランプ大統領「ロス五輪最優先」指令 どうなる侍ジャパン [牛丼★]
- 岐阜発激安スーパー「バロー」横浜にオープン! [おっさん友の会★]
- 【英FT】国土の大部分を日本の残忍な占領下におかれたという苦しみの記憶を今なお抱え続けている中国 [1ゲットロボ★]
- 中国の渡航自粛、影響は限定的 日本人客が来店しやすく [♪♪♪★]
- 高市早苗「G20サミット、なめられない服を選びました。外交交渉でマウント取れる服買わないとなぁ」大炎上★3 [165981677]
- 【んな専🏡】ルーナイトとたこ焼きパーティするのらぁ(・o・🍬)【ホロライブ▶】
- 有識者「高市総理は中国に切れるカードが3枚あります。その中で1番強力なのが半導体製造装置の輸出禁止」 [931948549]
- 「知名度:S」「面白さ:C」←こういうアニメってある?
- 【悲報】高市早苗内閣自民党支持率、30.7%にwwwwwwwwwwwww [339712612]
- 中国、高市早苗を国連に提訴。「国際社会に問う」 [271912485]
