| 156 | } |
| 157 | |
| 158 | inline float ScalarLightTraits::max(float v1, float v2) { |
| 159 | return std::max(v1, v2); |
| 160 | } |
| 161 | |
| 162 | inline Vec3F ColoredLightTraits::spread(Vec3F const& source, Vec3F const& dest, float drop) { |
| 163 | float maxChannel = std::max(source[0], std::max(source[1], source[2])); |
no test coverage detected