Return a Color by value from Light::Contribution()
This commit is contained in:
parent
917b74003a
commit
7c12a8bc2b
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ Light::SetIntensity(const Double& intensity)
|
|||
}
|
||||
|
||||
|
||||
Color&&
|
||||
Color
|
||||
Light::Contribution()
|
||||
const
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@ struct Light
|
|||
Double GetIntensity() const;
|
||||
void SetIntensity(const Double& intensity);
|
||||
|
||||
virtual basics::Color&& Contribution() const;
|
||||
virtual basics::Color Contribution() const;
|
||||
|
||||
private:
|
||||
Double ClampIntensity(const Double& intensity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue