Files
PhotonMF/disk_area_light.hpp

18 lines
348 B
C++
Raw Permalink Normal View History

#pragma once
#ifndef DISK_AREA_LIGHT_HPP
#define DISK_AREA_LIGHT_HPP
#include "area_light.hpp"
#include "disk.hpp"
class DiskAreaLight: public AreaLight {
public:
2017-05-19 02:03:05 -04:00
DiskAreaLight(Disk * _s, float _c = 1.0, float _l = 0.0, float _q = 0.0):
AreaLight(static_cast<Figure *>(_s), _c, _l, _q)
{ }
2017-02-22 15:12:01 -04:00
virtual vec3 sample_at_surface();
};
#endif