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_METAL__HPP__
2
#define __PATHTRACER_METAL__HPP__
3
 
4
#include "material.hpp"
5
 
6
class metal : public material
7
{
8
public:
9
    metal(const CGLA::Vec3f& color, float shininess, float ior, float ext);
10
 
11
    void sample(const ray&, hit_info&) const;
12
 
13
private:
14
    CGLA::Vec3f color_;
15
    float shininess_;
16
};
17
 
18
#endif
19
 
20
//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007