【Ecere C】 eC 【C上位互換】©2ch.net (42レス)
上下前次1-新
抽出解除 必死チェッカー(本家) (べ) 自ID レス栞 あぼーん
1(3): 転載ダメ©2ch.net [sageteoff] 2016/08/22(月)13:59 ID:01M+MFvA(1/6) AAS
3Dも充実のC言語上位互換オブジェクト指向プログラミング言語
eC ( Ecere C ) について語りましょう
外部リンク:ec-lang.org
SDK
外部リンク:ecere.org
source
外部リンク:github.com
2: 2016/08/22(月)14:00 ID:01M+MFvA(2/6) AAS
外部リンク:en.wikipedia.org
overview
外部リンク:ec-lang.org
programming guide
外部リンク[pdf]:ecere.com
3: 2016/08/22(月)14:04 ID:01M+MFvA(3/6) AAS
class HelloApp : Application
{
void Main()
{
PrintLn("Hello, World!!");
}
}
4(1): 2016/08/22(月)14:19 ID:01M+MFvA(4/6) AAS
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 {};
5: 2016/08/22(月)14:20 ID:01M+MFvA(5/6) AAS
3D chess
外部リンク:github.com
6: 2016/08/22(月)14:27 ID:01M+MFvA(6/6) AAS
home
外部リンク:ecere.ca
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ
ぬこの手 ぬこTOP 0.178s*