Scene reader reads figures now.
This commit is contained in:
6
disk.hpp
6
disk.hpp
@@ -13,11 +13,11 @@ class Disk : public Plane {
|
||||
public:
|
||||
float m_radius;
|
||||
|
||||
Disk(BRDF * _brdf = NULL): Plane(_brdf), m_radius(1.0f) { }
|
||||
Disk(Material * mat = NULL): Plane(mat), m_radius(1.0f) { }
|
||||
|
||||
Disk(float x, float y, float z, float nx, float ny, float nz, float _r, BRDF * _brdf = NULL): Plane(x, y, z, nx, ny, nz, _brdf), m_radius(_r) { }
|
||||
Disk(float x, float y, float z, float nx, float ny, float nz, float _r, Material * mat = NULL): Plane(x, y, z, nx, ny, nz, mat), m_radius(_r) { }
|
||||
|
||||
Disk(vec3 _p, vec3 _n, float _r, BRDF * _brdf = NULL): Plane(_p, _n, _brdf), m_radius(_r) { }
|
||||
Disk(vec3 _p, vec3 _n, float _r, Material * mat = NULL): Plane(_p, _n, mat), m_radius(_r) { }
|
||||
|
||||
virtual ~Disk() { }
|
||||
|
||||
|
Reference in New Issue
Block a user