17 lines
280 B
C++
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);
|
|
}
|