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
なぜ今さら取り上げたし
レスを投稿する
ニュース
- 【速報】トランプ大統領、中国の習近平国家主席を「国賓」として招待することに ★4 [ニョキニョキ★]
- 日本と中国を結ぶ12航空路線で全便欠航 中国人に最も人気の海外旅行先は日本から韓国に ★2 [ぐれ★]
- 【東京・足立の車暴走】赤信号無視か 危険運転致死傷疑いも視野に捜査 逮捕された職業不詳の男性(37)は精神疾患で通院歴も ★4 [ぐれ★]
- 【テレビ】鈴木福&あのちゃんW主演 テレ東で押見修造氏の漫画『惡の華』実写ドラマ化決定! 累計325万部を突破した伝説的漫画 [冬月記者★]
- 防衛費増額「賛成」62・8% 「反対」32・2%を大きく上回る 賛成「18~29歳で8割」世代差あらわ 産経FNN合同世論調査 ★3 [尺アジ★]
- 首相就任1か月、目立つ高市流「スピード」「独自性」…発言の率直さで危うさも [蚤の市★]
