Searched refs:cos_hue_angle (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui_widgets.cpp | 4176 float cos_hue_angle = ImCos(-H * 2.0f * IM_PI); in ColorPicker4() local 4178 …insPoint(triangle_pa, triangle_pb, triangle_pc, ImRotate(initial_off, cos_hue_angle, sin_hue_angle… in ColorPicker4() 4181 ImVec2 current_off_unrotated = ImRotate(current_off, cos_hue_angle, sin_hue_angle); in ColorPicker4() 4336 float cos_hue_angle = ImCos(H * 2.0f * IM_PI); in ColorPicker4() local 4338 …ImVec2 hue_cursor_pos(wheel_center.x + cos_hue_angle * (wheel_r_inner+wheel_r_outer)*0.5f, wheel_c… in ColorPicker4() 4346 ImVec2 tra = wheel_center + ImRotate(triangle_pa, cos_hue_angle, sin_hue_angle); in ColorPicker4() 4347 ImVec2 trb = wheel_center + ImRotate(triangle_pb, cos_hue_angle, sin_hue_angle); in ColorPicker4() 4348 ImVec2 trc = wheel_center + ImRotate(triangle_pc, cos_hue_angle, sin_hue_angle); in ColorPicker4()
|