Lines Matching refs:dst
187 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx)
221 computeQuadTexCoord2D(dst, bottomLeft, topRight);
224 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx)
227 getBasicTexCoord2D(dst, cellNdx);
238 Vec2 p0 = transform * Vec2(dst[0], dst[1]);
239 Vec2 p1 = transform * Vec2(dst[2], dst[3]);
240 Vec2 p2 = transform * Vec2(dst[4], dst[5]);
241 Vec2 p3 = transform * Vec2(dst[6], dst[7]);
243 dst[0] = p0.x(); dst[1] = p0.y();
244 dst[2] = p1.x(); dst[3] = p1.y();
245 dst[4] = p2.x(); dst[5] = p2.y();
246 dst[6] = p3.x(); dst[7] = p3.y();
551 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height)
563 randomPartition(dst, rnd, x, y, split, height);
564 randomPartition(dst, rnd, x+split, y, width-split, height);
569 randomPartition(dst, rnd, x, y, width, split);
570 randomPartition(dst, rnd, x, y+split, width, height-split);
573 dst.push_back(IVec4(x, y, width, height));
576 static void computeGridLayout (vector<IVec4>& dst, int width, int height)
579 randomPartition(dst, rnd, 0, 0, width, height);