diff options
author | mano-wii <germano.costa@ig.com.br> | 2018-10-03 05:00:29 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2018-10-03 05:00:29 +0300 |
commit | 65e577d222f102f8b89fa3f21a6a07e79e36b32b (patch) | |
tree | 037dcbccd255ff7a492f083edd508b792ff34e34 /source/blender/editors/include/ED_gizmo_library.h | |
parent | 6a4bed75b2cb945ab1441941fe24ecb99c7456db (diff) |
Dial 3d Gizmo refactoring.
Transform the gizmo's drawing function into a generic function for use in other parts of the code.
Diffstat (limited to 'source/blender/editors/include/ED_gizmo_library.h')
-rw-r--r-- | source/blender/editors/include/ED_gizmo_library.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_gizmo_library.h b/source/blender/editors/include/ED_gizmo_library.h index 45ada740c1c..c4096bbae9f 100644 --- a/source/blender/editors/include/ED_gizmo_library.h +++ b/source/blender/editors/include/ED_gizmo_library.h @@ -231,4 +231,20 @@ enum { ED_GIZMO_PRIMITIVE_STYLE_PLANE = 0, }; + +/* -------------------------------------------------------------------- */ +/* Gizmo Drawing Functions */ + +void ED_gizmotypes_dial_3d_draw_util( + const float matrix_basis[4][4], + const float matrix_final[4][4], + const float line_width, + const float color[4], + const float clip_plane[4], + const float arc_partial_angle, + const float arc_inner_factor, + const int draw_options, + const float angle_ofs, + const float angle_delta); + #endif /* __ED_GIZMO_LIBRARY_H__ */ |