Add set_intensity; clean up PointLight constructors
This commit is contained in:
parent
e72374b7db
commit
fcc6f1a718
2 changed files with 12 additions and 7 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
|
||||
const Color &get_color() const;
|
||||
const float &get_intensity() const;
|
||||
void set_intensity(const float &i);
|
||||
|
||||
Color compute_color_contribution() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue