Guest User

Untitled

a guest
Sep 10th, 2020
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tbb::parallel_for(0, width * height * 3, 3, [=](int i) {
  2. int colorIndex = target[i] + 256 * (target[i + 1] + 256 * target[i + 2]);
  3. target[i] = transformCubeR[colorIndex];
  4. target[i + 1] = transformCubeG[colorIndex];
  5. target[i + 2] = transformCubeB[colorIndex];
  6. });
RAW Paste Data