Files
inferno-cpu/src/engine/tonemap.cpp
2019-08-26 11:52:18 +01:00

17 lines
280 B
C++

#include "tonemap.hpp"
// Need to map a vector of floats to a buffer. need to rework engine first
void MapHRDLDRBasic(uint32_t* buffer, int w, int h) {
for (int x = 0; x < w; x++)
for (int y = 0; y < h; y++) {
}
}
int index(int x, int y, int w) {
return (y * w + x);
}