Lines Matching defs:tan0
613 // parallel to tan0.)
615 // Tangent_Direction(T) x tan0 == 0
616 // (AT^2 x tan0) + (2BT x tan0) + (C x tan0) == 0
617 // (A x C)T^2 + (2B x C)T + (C x C) == 0 [[because tan0 == P1 - P0 == C]]
621 // NOTE: if C == 0, then C != tan0. But this is fine because the curve is definitely
649 // tan0. This will find any cusp point.
651 // dot(tan0, Tangent_Direction(T)) == 0
654 // tan0 * |A 2B C| * |T | == 0
657 float2 tan0 = skvx::if_then_else(C != 0, C, p2 - p0);
658 a = grvx::dot(tan0, A);
659 b_over_minus_2 = -grvx::dot(tan0, B);
660 c = grvx::dot(tan0, C);