// // light.cc // // Represent a infinite light source // // Copyright (C) J. Belson 2000.06.27 // // $Author: jon $ : $Date: 2003/05/26 13:58:06 $ // #include "light.h" using namespace std; /** * Constructor */ light_source::light_source() { } /** * Return colour of light reflected from a * surface of specified colour */ fcolour light_source::reflected(fcolour c) { return col*c; }