MobileRT
1.0
A multi platform C++ CPU progressive Ray Tracer.
|
#include <PointLight.hpp>
Public Member Functions | |
PointLight ()=delete | |
PointLight (const ::MobileRT::Material &radiance, const ::glm::vec3 &position) | |
PointLight (const PointLight &pointLight)=delete | |
PointLight (PointLight &&pointLight) noexcept=delete | |
~PointLight () final=default | |
PointLight & | operator= (const PointLight &pointLight)=delete |
PointLight & | operator= (PointLight &&pointLight) noexcept=delete |
::glm::vec3 | getPosition () final |
void | resetSampling () final |
::MobileRT::Intersection | intersect (::MobileRT::Intersection &&intersection) final |
![]() | |
Light ()=delete | |
Light (Material radiance) | |
Light (const Light &light)=delete | |
Light (Light &&light) noexcept=delete | |
virtual | ~Light () |
Light & | operator= (const Light &light)=delete |
Light & | operator= (Light &&light) noexcept=delete |
virtual Intersection | intersect (Intersection &&intersection)=0 |
Private Attributes | |
::glm::vec3 | position_ {} |
Additional Inherited Members | |
![]() | |
Material | radiance_ {} |
A light that gets emitted from a single point in all directions.
|
explicitdelete |
|
explicit |
|
delete |
|
deletenoexcept |
|
finaldefault |
|
finalvirtual |
|
final |
|
delete |
|
deletenoexcept |
|
finalvirtual |
Resets the sampling counter.
Implements MobileRT::Light.
|
private |