| 33 | struct Buffers |
| 34 | { |
| 35 | Buffers(pgl_point2i resolution) : numPixels(resolution.x * resolution.y) |
| 36 | { |
| 37 | contribution = new pgl_vec3f[numPixels]; |
| 38 | secondMoment = new pgl_vec3f[numPixels]; |
| 39 | |
| 40 | albedo = new pgl_vec3f[numPixels]; |
| 41 | normal = new pgl_vec3f[numPixels]; |
| 42 | spp = new float[numPixels]; |
| 43 | |
| 44 | filteredContribution = new pgl_vec3f[numPixels]; |
| 45 | filteredSecondMoment = new pgl_vec3f[numPixels]; |
| 46 | } |
| 47 | |
| 48 | Buffers(const Buffers &buffer) = delete; |
| 49 |
nothing calls this directly
no outgoing calls
no test coverage detected