Lines Matching defs:vectors
282 // test a bunch of vectors. All should be scaled by between minScale and maxScale
287 SkVector vectors[1000];
288 for (size_t i = 0; i < SK_ARRAY_COUNT(vectors); ++i) {
289 vectors[i].fX = rand.nextSScalar1();
290 vectors[i].fY = rand.nextSScalar1();
291 if (!vectors[i].normalize()) {
296 mat.mapVectors(vectors, SK_ARRAY_COUNT(vectors));
297 for (size_t i = 0; i < SK_ARRAY_COUNT(vectors); ++i) {
298 SkScalar d = vectors[i].length();
584 // if the matrix is degenerate, the basis vectors should be near-parallel or near-zero