Rev 346 | Blame | Last modification | View Log | RSS feed
#ifndef __PATHTRACER_MATTE__HPP__
#define __PATHTRACER_MATTE__HPP__
#include "material.hpp"
class matte : public material
{
public:
//diffuse is rho (diffuse reflectance)
matte(const CGLA::Vec3f& diffuse);
void sample(const ray&, hit_info&) const;
private:
CGLA::Vec3f diffuse_;
};
#endif
//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007
Generated by GNU Enscript 1.6.6.