Home
last modified time | relevance | path

Searched refs:kThird (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/ganesh/
DGrDistanceFieldGenFromVector.cpp388 static const float kThird = 0.33333333333f; in calculate_nearest_point_for_quad() local
408 result = 2.f * (float)sqrt(-a * kThird) * (float)cos(phi * kThird); in calculate_nearest_point_for_quad()
410 …result = 2.f * (float)sqrt(-a * kThird) * (float)cos((phi * kThird) + (SK_ScalarPI * 2.f * kThird)… in calculate_nearest_point_for_quad()
413 …result = 2.f * (float)sqrt(-a * kThird) * (float)cos((phi * kThird) + (SK_ScalarPI * 2.f * kThird)… in calculate_nearest_point_for_quad()
415 result = 2.f * (float)sqrt(-a * kThird) * (float)cos(phi * kThird); in calculate_nearest_point_for_quad()