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
まさに今更感
レスを投稿する
ニュース
- 尖閣周辺に中国船、10日連続 いずれも機関砲搭載 [蚤の市★]
- 【宅急便】ヤマト運輸がベトナム人ドライバー500人採用…不安視される「運転技術」「コミュニケーション」「助成金」 [シャチ★]
- (社説)国旗損壊罪の新設案 窮屈な社会が待っていないか:朝日新聞 ★3 [少考さん★]
- こども食堂、全国で1万か所超す「誰もが立ち寄れる地域のインフラに」…物価高「涙を流す人もいて深刻」 [煮卵★]
- 【ファッション】ぬいぐるみがブーム バッグに付ける人が増えている [シャチ★]
- 【石破茂前首相】おこめ券配布に異議「その原資は何ですか?国民の税金でしょう?」 ★2 [ぐれ★]
- カープのキャッチフレーズがカッコ良すぎるw
- 福島競馬3回6日目
- NFL 2025/26 week12 part 2
- 競輪実況★1608
- こいせん 全レス転載禁止 SHAKARIKI
- 東京競馬5回5日目月曜日
- 【高市インフラ速報】 沖縄。 全 域 断 水 😭😱😨 [485983549]
- んなぁ…🍬おはようなのら…✋🍬🏡
- 千晴のパンツの色
- 高市内閣支持率75.2%、台湾有事発言適切6割越え [931948549]
- 【悲報】外国人「フリーレンを黒人にしてみたよ!」→日本人さん、ブチギレwwwwwwwwwwwwwwwwwww [839150984]
- ラーメンつけ麺僕
