Searched refs:linear_zero_pos (Results 1 - 4 of 4) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 2077 float ImGui::SliderCalcRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, TYPE v_max, float power, float linear_zero_pos) argument 2089 return (1.0f - ImPow(f, 1.0f/power)) * linear_zero_pos; 2094 return linear_zero_pos + ImPow(f, 1.0f/power) * (1.0f - linear_zero_pos); 2125 float linear_zero_pos; // 0.0->1.0f local in function:ImGui::SliderBehaviorT 2131 linear_zero_pos = (float)(linear_dist_min_to_0 / (linear_dist_min_to_0 + linear_dist_max_to_0)); 2136 linear_zero_pos = v_min < 0.0f ? 1.0f : 0.0f; 2170 clicked_t = SliderCalcRatioFromValueT<TYPE,FLOATTYPE>(data_type, *v, v_min, v_max, power, linear_zero_pos); 2201 if (clicked_t < linear_zero_pos) 2204 float a = 1.0f - (clicked_t / linear_zero_pos); [all...] |
| H A D | imgui_internal.h | 1484 template<typename T, typename FLOAT_T> IMGUI_API float SliderCalcRatioFromValueT(ImGuiDataType data_type, T v, T v_min, T v_max, float power, float linear_zero_pos);
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 2077 float ImGui::SliderCalcRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, TYPE v_max, float power, float linear_zero_pos) argument 2089 return (1.0f - ImPow(f, 1.0f/power)) * linear_zero_pos; 2094 return linear_zero_pos + ImPow(f, 1.0f/power) * (1.0f - linear_zero_pos); 2125 float linear_zero_pos; // 0.0->1.0f local in function:ImGui::SliderBehaviorT 2131 linear_zero_pos = (float)(linear_dist_min_to_0 / (linear_dist_min_to_0 + linear_dist_max_to_0)); 2136 linear_zero_pos = v_min < 0.0f ? 1.0f : 0.0f; 2170 clicked_t = SliderCalcRatioFromValueT<TYPE,FLOATTYPE>(data_type, *v, v_min, v_max, power, linear_zero_pos); 2201 if (clicked_t < linear_zero_pos) 2204 float a = 1.0f - (clicked_t / linear_zero_pos); [all...] |
| H A D | imgui_internal.h | 1484 template<typename T, typename FLOAT_T> IMGUI_API float SliderCalcRatioFromValueT(ImGuiDataType data_type, T v, T v_min, T v_max, float power, float linear_zero_pos);
|
Completed in 25 milliseconds