Lines Matching defs:dst
184 static void getBasicTexCoord2D (std::vector<float>& dst, int cellNdx)
218 computeQuadTexCoord2D(dst, bottomLeft, topRight);
221 static void getAffineTexCoord2D (std::vector<float>& dst, int cellNdx)
224 getBasicTexCoord2D(dst, cellNdx);
235 Vec2 p0 = transform * Vec2(dst[0], dst[1]);
236 Vec2 p1 = transform * Vec2(dst[2], dst[3]);
237 Vec2 p2 = transform * Vec2(dst[4], dst[5]);
238 Vec2 p3 = transform * Vec2(dst[6], dst[7]);
240 dst[0] = p0.x(); dst[1] = p0.y();
241 dst[2] = p1.x(); dst[3] = p1.y();
242 dst[4] = p2.x(); dst[5] = p2.y();
243 dst[6] = p3.x(); dst[7] = p3.y();
495 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height)
507 randomPartition(dst, rnd, x, y, split, height);
508 randomPartition(dst, rnd, x+split, y, width-split, height);
513 randomPartition(dst, rnd, x, y, width, split);
514 randomPartition(dst, rnd, x, y+split, width, height-split);
517 dst.push_back(IVec4(x, y, width, height));
520 static void computeGridLayout (vector<IVec4>& dst, int width, int height)
523 randomPartition(dst, rnd, 0, 0, width, height);