| 44 | } |
| 45 | |
| 46 | bool Light::SetProperty(const std::string& name, const dm::float4& value) |
| 47 | { |
| 48 | if (name == "color") |
| 49 | { |
| 50 | color = value.xyz(); |
| 51 | return true; |
| 52 | } |
| 53 | |
| 54 | return SceneGraphLeaf::SetProperty(name, value); |
| 55 | } |
| 56 | |
| 57 | dm::double3 Light::GetPosition() const |
| 58 | { |
nothing calls this directly
no outgoing calls
no test coverage detected