Skip to content

Commit 3dcef61

Browse files
committed
address review comments
1 parent 7b0f510 commit 3dcef61

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

include/fg/pie.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ FGAPI fg_err fg_retain_pie(fg_pie *pOut, fg_pie pIn);
5353
FGAPI fg_err fg_release_pie(fg_pie pPie);
5454

5555
/**
56-
Set the color of bar in the bar graph(pie)
56+
Set the color of all sectors in the pie chart
5757
5858
This is global alpha value for the pie rendering that takes
59-
effect if individual bar alphas are not set by calling the following
60-
member functions
61-
- Pie::alphas()
62-
- Pie::alphasSize()
59+
effect if individual sector alphas are not set in the buffer
60+
obtained by the following functions
61+
- fg_get_pie_alpha_buffer
62+
- fg_get_pie_alpha_buffer_size
6363
6464
\param[in] pPie is the pie handle
6565
\param[in] pRed is Red component in range [0, 1]
@@ -193,17 +193,17 @@ class Pie {
193193
FGAPI ~Pie();
194194

195195
/**
196-
Set the color of bar in the bar graph(pie)
196+
Set the color of all sectors in the pie chart
197197
198-
\param[in] pColor takes values of type forge::Color to define bar color
198+
\param[in] pColor takes values of type forge::Color to define sector color
199199
**/
200200
FGAPI void setColor(const Color pColor);
201201

202202
/**
203-
Set the color of bar in the bar graph(pie)
203+
Set the color of all sectors in the pie chart
204204
205205
This is global alpha value for the pie rendering that takes
206-
effect if individual bar alphas are not set by calling the following
206+
effect if individual sector alphas are not set by calling the following
207207
member functions
208208
- Pie::alphas()
209209
- Pie::alphasSize()

src/backend/opengl/pie_impl.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <glm/glm.hpp>
1616

17-
#include <memory>
1817
#include <map>
1918

2019
namespace forge

0 commit comments

Comments
 (0)