| 33 | } |
| 34 | |
| 35 | void zLightResetAll(xEnv* env) |
| 36 | { |
| 37 | memset(sLight, 0, sizeof(sLight)); |
| 38 | sLightTotal = 0; |
| 39 | |
| 40 | if (sPartitionVolume) |
| 41 | { |
| 42 | xPartitionVolume(&sLightPart, sPartitionVolume, 10, 1, 10); |
| 43 | } |
| 44 | else |
| 45 | { |
| 46 | xPartitionWorld(&sLightPart, env, 10, 1, 10); |
| 47 | } |
| 48 | xPartitionDump(&sLightPart, "Lighting"); |
| 49 | } |
| 50 | |
| 51 | void zLightInit(void* b, void* tasset) |
| 52 | { |
no test coverage detected