Home
last modified time | relevance | path

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

/third_party/skia/docs/examples/
DColor_Wheel.cpp40 constexpr double pi_over_180 = 3.141592653589793 / 180; in draw_color_wheel() local
41 float x = (float)(0.3 * scale * v.radius * cos(pi_over_180 * v.angle) - bnds.centerX()); in draw_color_wheel()
42 float y = (float)(0.3 * scale * v.radius * sin(pi_over_180 * v.angle) - bnds.centerY()); in draw_color_wheel()