fix raytracer
This commit is contained in:
parent
69a17a609e
commit
0eaf22cc46
3 changed files with 31 additions and 3 deletions
|
|
@ -80,6 +80,10 @@ void renderCommand(const std::string& scenePath) {
|
|||
}
|
||||
|
||||
int main(int argc, const char** argv) {
|
||||
renderCommand("scene.lua");
|
||||
if (argc > 1) {
|
||||
renderCommand(argv[1]);
|
||||
} else {
|
||||
renderCommand("scene.lua");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue