Subversion Repositories gelsvn

Rev

Blame | Last modification | View Log | RSS feed

#ifndef __PATHTRACER_PLASTIC__HPP__
#define __PATHTRACER_PLASTIC__HPP__

#include "material.hpp"

class plastic : public material
{
public:
        plastic(const CGLA::Vec3f& diffuse, const CGLA::Vec3f& glossy,
                float shininess);

        void sample(const ray&, hit_info&) const;

private:
        CGLA::Vec3f diffuse_;
        CGLA::Vec3f glossy_;
        float shininess_;
};

#endif


//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007

Generated by GNU Enscript 1.6.6.