5 lines
182 B
C++
5 lines
182 B
C++
#include "light/ambientlight.h"
|
|
|
|
Light::Illumination AmbientLight::illuminate(Scene const &scene, Ray const &ray) const {
|
|
return {this->color * this->intensity, -ray.normal, 0};
|
|
}
|