#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;
}


#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;
}


Clean up unused param warning
Clean up unused param warning
