diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:10:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:12:53 +0300 |
commit | 0547a7753643f45861306542857d97215ecb2c4f (patch) | |
tree | 1faad834721f7f13d4a0756bd80607963386fccd /source/blender/editors/gizmo_library/gizmo_library_presets.c | |
parent | d30ec73d763ed01795100ec5d3a0ef9dc8521f7b (diff) |
Cleanup: use const args, variables
Diffstat (limited to 'source/blender/editors/gizmo_library/gizmo_library_presets.c')
-rw-r--r-- | source/blender/editors/gizmo_library/gizmo_library_presets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_library_presets.c b/source/blender/editors/gizmo_library/gizmo_library_presets.c index 59c5b758e1b..fe0893ae3ff 100644 --- a/source/blender/editors/gizmo_library/gizmo_library_presets.c +++ b/source/blender/editors/gizmo_library/gizmo_library_presets.c @@ -54,7 +54,7 @@ * Given a single axis, orient the matrix to a different direction. */ static void single_axis_convert(int src_axis, - float src_mat[4][4], + const float src_mat[4][4], int dst_axis, float dst_mat[4][4]) { @@ -73,7 +73,7 @@ static void single_axis_convert(int src_axis, * Use for all geometry. */ static void ed_gizmo_draw_preset_geometry(const struct wmGizmo *gz, - float mat[4][4], + const float mat[4][4], int select_id, const GizmoGeomInfo *info) { |