#include "textures/constant_texture.h"

ConstantTexture::ConstantTexture(const Colorf &color) : color(color){}
Colorf ConstantTexture::sample(const DifferentialGeometry&) const {
	return color;
}
Colorf ConstantTexture::sample(const TextureSample&) const {
	return color;
}


#include "textures/constant_texture.h"

ConstantTexture::ConstantTexture(const Colorf &color) : color(color){}
Colorf ConstantTexture::sample(const DifferentialGeometry &) const {
	return color;
}
Colorf ConstantTexture::sample(const TextureSample &sample) const {
	return color;
}


--- 
+++ 
@@ -1,10 +1,10 @@
 #include "textures/constant_texture.h"
 
 ConstantTexture::ConstantTexture(const Colorf &color) : color(color){}
-Colorf ConstantTexture::sample(const DifferentialGeometry &) const {
+Colorf ConstantTexture::sample(const DifferentialGeometry&) const {
 	return color;
 }
-Colorf ConstantTexture::sample(const TextureSample &sample) const {
+Colorf ConstantTexture::sample(const TextureSample&) const {
 	return color;
 }
 
Clean up unused param warning
