Home | History | Annotate | Download | only in gpu

Lines Matching refs:vec

675     SkVector ortho, vec = b;
676 vec -= a;
678 if (vec.setLength(SK_ScalarHalf)) {
679 // Create a vector orthogonal to 'vec' and of unit length
680 ortho.fX = 2.0f * vec.fY;
681 ortho.fY = -2.0f * vec.fX;
687 (*vert)[2].fPos = a - vec + ortho;
689 (*vert)[3].fPos = b + vec + ortho;
691 (*vert)[4].fPos = a - vec - ortho;
693 (*vert)[5].fPos = b + vec - ortho;