Home
last modified time | relevance | path

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

/dports/games/freeorion/freeorion-0.4.10.2/GG/src/
H A DDrawUtil.cpp339 double theta1_x = cos(-theta1), theta1_y = sin(-theta1); in CircleArc() local
340 glVertex2f(theta1_x * inner_radius, theta1_y * inner_radius); in CircleArc()
351 double color_scale_factor = (SQRT2OVER2 * (theta1_x + theta1_y) + 1) / 2; in CircleArc()
354 glVertex2f(theta1_x, theta1_y); in CircleArc()
355 glVertex2f(theta1_x * inner_radius, theta1_y * inner_radius); in CircleArc()
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DCUIDrawUtil.cpp105 double theta1_x = std::cos(-theta1), theta1_y = std::sin(-theta1); in BufferStoreCircleArcVertices() local
106 …tore(static_cast<GLfloat>(center_x + theta1_x * r), static_cast<GLfloat>(center_y + theta1_y * r)); in BufferStoreCircleArcVertices()