| 246 | float fade_factor; // 0->1.0 |
| 247 | |
| 248 | float SumBrightness() const { |
| 249 | float out = 0; |
| 250 | out += n_fill; |
| 251 | out += (fade_factor * n_fade0); |
| 252 | out += (fade_factor * n_fade1); |
| 253 | return out; |
| 254 | } |
| 255 | }; |
| 256 | |
| 257 | // Generator for the DrawPoints struct above. |