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>2021-10-27 09:05:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-27 09:10:39 +0300
commit526e60d4f0b440e2e28e73620caa10920ab0732b (patch)
treee1e20830c4017d7645bf0db4ed48fe4d187d00c6 /source/blender/gpu/GPU_immediate_util.h
parent9cb4624296028295873181c497cb6d1408e4a83d (diff)
Cleanup: remove underscore prefix from variable
Avoid using underscore prefix since these typically mean the variable shouldn't be accessed directly (it may be accessed from a macro, or memory on the stack which is assigned to a pointer). In this case a more meaningful name can be used for the argument that was shadowed.
Diffstat (limited to 'source/blender/gpu/GPU_immediate_util.h')
-rw-r--r--source/blender/gpu/GPU_immediate_util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_immediate_util.h b/source/blender/gpu/GPU_immediate_util.h
index 793348ad8d2..0d3d39839b2 100644
--- a/source/blender/gpu/GPU_immediate_util.h
+++ b/source/blender/gpu/GPU_immediate_util.h
@@ -78,10 +78,10 @@ void imm_draw_box_checker_2d_ex(float x1,
int checker_size);
void imm_draw_box_checker_2d(float x1, float y1, float x2, float y2);
-void imm_draw_cube_fill_3d(uint pos, const float co[3], const float aspect[3]);
-void imm_draw_cube_wire_3d(uint pos, const float co[3], const float aspect[3]);
+void imm_draw_cube_fill_3d(uint pos, const float center[3], const float aspect[3]);
+void imm_draw_cube_wire_3d(uint pos, const float center[3], const float aspect[3]);
void imm_draw_cube_corners_3d(uint pos,
- const float co[3],
+ const float center[3],
const float aspect[3],
const float factor);