Subversion Repositories gelsvn

Rev

Rev 346 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef __PATHTRACER_GLASS__HPP__
#define __PATHTRACER_GLASS__HPP__

#include "material.hpp"

class glass : public material
{
public:
    glass(const CGLA::Vec3f& c, float ior);

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

private:
    CGLA::Vec3f color_;
};

#endif

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

Generated by GNU Enscript 1.6.6.