Searched refs:ldru (Results 1 – 2 of 2) sorted by relevance
342 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors() local343 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors()344 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f); in setPixelColors()345 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f); in setPixelColors()346 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f); in setPixelColors()
437 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors() local438 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors()439 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f); in setPixelColors()440 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f); in setPixelColors()441 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f); in setPixelColors()