diff options
Diffstat (limited to 'source/blender/gpu/GPU_immediate_util.h')
-rw-r--r-- | source/blender/gpu/GPU_immediate_util.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_immediate_util.h b/source/blender/gpu/GPU_immediate_util.h index 924a735af79..cb7ca877b1d 100644 --- a/source/blender/gpu/GPU_immediate_util.h +++ b/source/blender/gpu/GPU_immediate_util.h @@ -80,6 +80,8 @@ void imm_draw_circle_fill_3d(uint pos, float x, float y, float radius, int nsegm */ void imm_draw_circle_partial_wire_2d( uint pos, float x, float y, float radius, int nsegments, float start, float sweep); +void imm_draw_circle_partial_wire_3d( + uint pos, float x, float y, float z, float radius, int nsegments, float start, float sweep); /** * Draw a filled arc with the given inner and outer radius. @@ -104,6 +106,15 @@ void imm_draw_disk_partial_fill_2d(uint pos, int nsegments, float start, float sweep); +void imm_draw_disk_partial_fill_3d(uint pos, + float x, + float y, + float z, + float rad_inner, + float rad_outer, + int nsegments, + float start, + float sweep); /** * Draw a lined box. |