3D scene stable

This commit is contained in:
IlyaShurupov 2024-06-18 17:57:42 +03:00 committed by Ilya Shurupov
parent 938616d989
commit e32e5e77d1
14 changed files with 96 additions and 45 deletions

View file

@ -13,7 +13,7 @@ public:
auto canvas = this->mGraphics->getCanvas();
mGui = new EditorWidget<EventHandler, Canvas>(canvas, &mScene, renderResolution);
mScene.load("rsc/scene.obj");
mScene.load("rsc/scene/script.lua");
mScene.mCamera.lookAtPoint({ 0, 0, 0 }, { 3, 3, 2 }, { 0, 0, 1 });
}