Print number of objects in the scene before rendering
This commit is contained in:
parent
deff3079b8
commit
f5f47f5a9a
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ Scene::write(Writer &writer, const std::string &filename)
|
||||||
void
|
void
|
||||||
Scene::render()
|
Scene::render()
|
||||||
{
|
{
|
||||||
|
printf("Rendering scene with %lu objects.\n", shapes.size());
|
||||||
std::chrono::time_point<std::chrono::system_clock> start, end;
|
std::chrono::time_point<std::chrono::system_clock> start, end;
|
||||||
start = std::chrono::system_clock::now();
|
start = std::chrono::system_clock::now();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue