diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-03 15:08:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-03 15:10:38 +0300 |
commit | fbcb92074893480aa7c2ec14357f1f1a62f63f6a (patch) | |
tree | 276a51f98f5c26f76f6ba74df001f6c6ff61eafa /source/blender/editors/screen/glutil.c | |
parent | d1e55be96e89c262262d5e79fef70ef3fc12fd6c (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.c | 8 |
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) |