Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-04-03 15:08:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-04-03 15:10:38 +0300
commitfbcb92074893480aa7c2ec14357f1f1a62f63f6a (patch)
tree276a51f98f5c26f76f6ba74df001f6c6ff61eafa /source/blender/editors/screen/glutil.c
parentd1e55be96e89c262262d5e79fef70ef3fc12fd6c (diff)
Rename circle_partial -> disk_partial
We may have a 'disk' function (not the partial version).
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index a613537100b..13e3fa2f50b 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -104,9 +104,9 @@ void imm_draw_filled_circle(unsigned pos, float x, float y, float rad, int nsegm
}
/**
- * \note We could have `imm_draw_lined_circle_partial` but currently there is no need.
+ * \note We could have `imm_draw_lined_disk_partial` but currently there is no need.
*/
-static void imm_draw_circle_partial(
+static void imm_draw_disk_partial(
PrimitiveType prim_type, unsigned pos, float x, float y,
float rad_inner, float rad_outer, int nsegments, float start, float sweep)
{
@@ -128,11 +128,11 @@ static void imm_draw_circle_partial(
/**
* Replacement for gluPartialDisk, (without 'loops' argument).
*/
-void imm_draw_filled_circle_partial(
+void imm_draw_filled_disk_partial(
unsigned pos, float x, float y,
float rad_inner, float rad_outer, int nsegments, float start, float sweep)
{
- imm_draw_circle_partial(PRIM_TRIANGLE_STRIP, pos, x, y, rad_inner, rad_outer, nsegments, start, sweep);
+ imm_draw_disk_partial(PRIM_TRIANGLE_STRIP, pos, x, y, rad_inner, rad_outer, nsegments, start, sweep);
}
void imm_draw_lined_circle_3D(unsigned pos, float x, float y, float rad, int nsegments)