Adding scene files

This commit is contained in:
IlyaShurupov 2023-10-16 22:38:45 +03:00 committed by Ilya Shurupov
parent bb2b0b926f
commit a62e665623
13 changed files with 2240 additions and 2079 deletions

View file

@ -145,7 +145,7 @@ void loadScene(tp::Scene& scene, const tp::String& scenePath, tp::RayTracer::Ren
scene.mCamera.lookAtPoint({0, 0, 0}, {pos[0], pos[1], pos[2]}, {0, 0, 1});
scene.mCamera.setFOV(3.14 / 4);
scene.mCamera.setFar(100);
scene.mCamera.setRatio((tp::halnf) size_x / (tp::halnf) size_y);
scene.mCamera.setRatio((tp::halnf) size_y / (tp::halnf) size_x);
lua_close(L);
}