Adding scene files
This commit is contained in:
parent
517dc83c85
commit
3e9365b1ee
13 changed files with 2240 additions and 2079 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue