Searched refs:IM_PI (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui_draw.cpp | 354 const float a = ((float)i * 2 * IM_PI) / (float)IM_ARRAYSIZE(CircleVtx12); in ImDrawListSharedData() 1150 const float a_max = IM_PI*2.0f * ((float)num_segments - 1.0f) / (float)num_segments; in AddCircle() 1161 const float a_max = IM_PI*2.0f * ((float)num_segments - 1.0f) / (float)num_segments; in AddCircleFilled() 2988 if (x <= 0.0f) return IM_PI * 0.5f; in ImAcos01() 3014 …const float half_pi = IM_PI * 0.5f; // We will == compare to this because we know this is the exac… in RenderRectFilledRangeH() 3028 …draw_list->PathArcTo(ImVec2(x0, p1.y - rounding), rounding, IM_PI - arc0_e, IM_PI - arc0_b, 3); //… in RenderRectFilledRangeH() 3029 …draw_list->PathArcTo(ImVec2(x0, p0.y + rounding), rounding, IM_PI + arc0_b, IM_PI + arc0_e, 3); //… in RenderRectFilledRangeH()
|
D | imgui_widgets.cpp | 2426 float v_deg = (*v_rad) * 360.0f / (2*IM_PI); in SliderAngle() 2428 *v_rad = v_deg * (2*IM_PI) / 360.0f; in SliderAngle() 4171 H = ImAtan2(current_off.y, current_off.x) / IM_PI*0.5f; in ColorPicker4() 4176 float cos_hue_angle = ImCos(-H * 2.0f * IM_PI); in ColorPicker4() 4177 float sin_hue_angle = ImSin(-H * 2.0f * IM_PI); in ColorPicker4() 4322 const float a0 = (n) /6.0f * 2.0f * IM_PI - aeps; in ColorPicker4() 4323 const float a1 = (n+1.0f)/6.0f * 2.0f * IM_PI + aeps; in ColorPicker4() 4336 float cos_hue_angle = ImCos(H * 2.0f * IM_PI); in ColorPicker4() 4337 float sin_hue_angle = ImSin(H * 2.0f * IM_PI); in ColorPicker4()
|
D | imgui.cpp | 4826 { ImVec2(0,+1), ImVec2(0,0), ImVec2(1,0), IM_PI*1.50f }, // Top in RenderOuterBorders() 4827 { ImVec2(-1,0), ImVec2(1,0), ImVec2(1,1), IM_PI*0.00f }, // Right in RenderOuterBorders() 4828 { ImVec2(0,-1), ImVec2(1,1), ImVec2(0,1), IM_PI*0.50f }, // Bottom in RenderOuterBorders() 4829 { ImVec2(+1,0), ImVec2(0,1), ImVec2(0,0), IM_PI*1.00f } // Left in RenderOuterBorders() 4833 … ImVec2(0.5f, 0.5f) + def.InnerDir * rounding, rounding, def.OuterAngle - IM_PI*0.25f, def.OuterAn… in RenderOuterBorders() 4834 …ec2(0.5f, 0.5f) + def.InnerDir * rounding, rounding, def.OuterAngle, def.OuterAngle + IM_PI*0.25f); in RenderOuterBorders()
|
D | imgui_internal.h | 123 #define IM_PI 3.14159265358979323846f macro
|