src/rcrt/gi/Photon.cpp

Go to the documentation of this file.
00001 #include "Photon.h"
00002 
00003 namespace rcrt
00004 {
00005 
00006 Photon::Photon(const float& w):power(0),direction(0),position(0),weight(w),bounces(0)
00007 {
00008 }
00009 
00010 Photon::Photon(const RGBColor& pow, const Vec3D& dir, const Point3D& pos, const int& b , const float& w):
00011         power(pow),direction(dir),position(pos),weight(w), bounces(b)
00012 {
00013 }
00014 
00015 Photon::~Photon()
00016 {
00017 }
00018 
00019 }

Generated on Thu Jan 31 19:26:19 2008 for RenderingCompetitionRayTracer by  doxygen 1.5.3