Searched refs:sin_hue_angle (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui_widgets.cpp | 4177 float sin_hue_angle = ImSin(-H * 2.0f * IM_PI); in ColorPicker4() local 4178 …sPoint(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() 4337 float sin_hue_angle = ImSin(H * 2.0f * IM_PI); in ColorPicker4() local 4338 … cos_hue_angle * (wheel_r_inner+wheel_r_outer)*0.5f, wheel_center.y + sin_hue_angle * (wheel_r_inn… 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()
|