ConstantBackground.cc

Go to the documentation of this file.
00001 
00005 #include "ConstantBackground.h"
00006 ConstantBackground::ConstantBackground(const Color& bgcolor)
00007   : bgcolor(bgcolor)
00008 {
00009 }
00010 
00011 ConstantBackground::~ConstantBackground()
00012 {
00013 }
00014 
00015 void ConstantBackground::preprocess()
00016 {
00017 }
00018 
00019 void ConstantBackground::getBackgroundColor(Color& result, const RenderContext&,
00020                                             const Ray&)
00021 {
00022   result=bgcolor;
00023 }

Generated on Tue Jan 29 21:34:53 2008 for specter by  doxygen 1.4.6