| 169 | renderer_light* myRenderer; |
| 170 | }; |
| 171 | struct lightSource |
| 172 | { |
| 173 | rgbf power; |
| 174 | int radius; |
| 175 | bool flicker; |
| 176 | lightSource():power(0,0,0),radius(0),flicker(false) |
| 177 | { |
| 178 | |
| 179 | } |
| 180 | lightSource(rgbf power,int radius); |
| 181 | float powerSquared()const |
| 182 | { |
| 183 | return power.r*power.r+power.g*power.g+power.b*power.b; |
| 184 | } |
| 185 | void combine(const lightSource& other); |
| 186 | |
| 187 | }; |
| 188 | struct matLightDef |
| 189 | { |
| 190 | bool isTransparent; |
no outgoing calls
no test coverage detected