Use logging!

This commit is contained in:
Eryn Wells 2014-08-01 22:28:47 -07:00
parent c00afe1cd1
commit 627854bc20

View file

@ -9,6 +9,7 @@
#include <unistd.h>
#include "basics.h"
#include "log.hh"
#include "light.h"
#include "material.h"
#include "object_sphere.h"
@ -34,6 +35,8 @@ main(int argc,
{
Scene scene;
charles::log::Log::Init("charles.log");
scene.get_ambient().set_intensity(1.0);
#if 0
@ -108,5 +111,7 @@ main(int argc,
PNGWriter writer;
scene.write(writer, outfile);
charles::log::Log::Close();
return 0;
}