Represents the GUI state for an S-curve.
More...
|
| static constexpr std::size_t | num_points = 21 |
| | number of points to draw, more points means smoother curve, but more expensive
|
Represents the GUI state for an S-curve.
Definition at line 20 of file ui.h.
◆ SCurveGuiState() [1/2]
| eu::imgui::SCurveGuiState::SCurveGuiState |
( |
| ) |
|
|
default |
◆ SCurveGuiState() [2/2]
| eu::imgui::SCurveGuiState::SCurveGuiState |
( |
float | x, |
|
|
float | y ) |
◆ drag
| ImVec2 eu::imgui::SCurveGuiState::drag = { 0.5f, 0.5f } |
the gui data
Definition at line 22 of file ui.h.
◆ num_points
| std::size_t eu::imgui::SCurveGuiState::num_points = 21 |
|
staticconstexpr |
number of points to draw, more points means smoother curve, but more expensive
Definition at line 27 of file ui.h.
◆ point_cache
| std::array<ImVec2, num_points> eu::imgui::SCurveGuiState::point_cache |
Definition at line 28 of file ui.h.
The documentation for this struct was generated from the following file:
- libs/imgui/src/eu/imgui/ui.h