X-Git-Url: https://git.rohieb.name/MicroTrace.git/blobdiff_plain/1adf47a77000054d46756051ba1ea4fcd999a64e..80400444b6db0076159fd1952693f03f12e5bc53:/FlatShader.cxx diff --git a/FlatShader.cxx b/FlatShader.cxx index fcae006..3699cd4 100644 --- a/FlatShader.cxx +++ b/FlatShader.cxx @@ -12,7 +12,7 @@ FlatShader::~FlatShader() } FlatShader::FlatShader() - : Shader(0), + : Shader(0), m_color(Vec3f()) { } @@ -20,5 +20,5 @@ FlatShader::FlatShader() Vec3f FlatShader::Shade(Ray& ray) { - return Vec3f(); + return m_color; }