| 261 | return rgbf(std::max(a.r,b.r),std::max(a.g,b.g),std::max(a.b,b.b)); |
| 262 | } |
| 263 | rgbf blend(const rgbf& a,const rgbf& b) |
| 264 | { |
| 265 | return blendMax(a,b); |
| 266 | } |
| 267 | void lightingEngineViewscreen::clear() |
| 268 | { |
| 269 | lightMap.assign(lightMap.size(),rgbf(1,1,1)); |