Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp407 static const float kThird = 0.33333333333f; in calculate_nearest_point_for_quad() local
427 result = 2.f * (float)sqrt(-a * kThird) * (float)cos(phi * kThird); in calculate_nearest_point_for_quad()
429 …result = 2.f * (float)sqrt(-a * kThird) * (float)cos((phi * kThird) + (SK_ScalarPI * 2.f * kThird)… in calculate_nearest_point_for_quad()
432 …result = 2.f * (float)sqrt(-a * kThird) * (float)cos((phi * kThird) + (SK_ScalarPI * 2.f * kThird)… in calculate_nearest_point_for_quad()
434 result = 2.f * (float)sqrt(-a * kThird) * (float)cos(phi * kThird); in calculate_nearest_point_for_quad()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp407 static const float kThird = 0.33333333333f; in calculate_nearest_point_for_quad() local
427 result = 2.f * (float)sqrt(-a * kThird) * (float)cos(phi * kThird); in calculate_nearest_point_for_quad()
429 …result = 2.f * (float)sqrt(-a * kThird) * (float)cos((phi * kThird) + (SK_ScalarPI * 2.f * kThird)… in calculate_nearest_point_for_quad()
432 …result = 2.f * (float)sqrt(-a * kThird) * (float)cos((phi * kThird) + (SK_ScalarPI * 2.f * kThird)… in calculate_nearest_point_for_quad()
434 result = 2.f * (float)sqrt(-a * kThird) * (float)cos(phi * kThird); in calculate_nearest_point_for_quad()