Home
last modified time | relevance | path

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

/haiku/src/add-ons/screen_savers/simpleclock/
H A DSimpleClock.cpp103 float markAngle = 0; in Draw() local
106 for(int mark = 0; mark < 60; mark++, markAngle += (2 * M_PI) / 60) { in Draw()
107 float x = centerX + markRadius * cos(markAngle); in Draw()
108 float y = centerY + markRadius * sin(markAngle); in Draw()
109 _drawBlock(&offscreenView, x, y, markAngle, 14.0 * zoom); in Draw()
114 markAngle = 0; in Draw()
117 for (int mark = 0; mark < 12; mark++, markAngle += (2 * M_PI) / 12) { in Draw()
118 float x = centerX + markRadius * cos(markAngle); in Draw()
119 float y = centerY + markRadius * sin(markAngle); in Draw()
120 _drawBlock(&offscreenView, x, y, markAngle, 32 * zoom); in Draw()