Subversion Repositories gelsvn

Rev

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

Rev Author Line No. Line
349 awk 1
#ifndef __PATHTRACER_GLASS__HPP__
2
#define __PATHTRACER_GLASS__HPP__
3
 
4
#include "material.hpp"
5
 
6
class glass : public material
7
{
8
public:
9
    glass(const CGLA::Vec3f& c, float ior);
10
 
11
    void sample(const ray&, hit_info&) const;
12
 
13
private:
14
    CGLA::Vec3f color_;
15
};
16
 
17
#endif
18
 
19
//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007