diff options
author | Campbell Barton <campbell@blender.org> | 2022-07-08 02:10:30 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-07-08 02:48:49 +0300 |
commit | 03173d63c01aede48f361ce83f53e5e9d8236c05 (patch) | |
tree | 4b4475b24114d73275ad679e6e13885dbd6360ed /source/blender/blenkernel/BKE_object.h | |
parent | 9ef37369592ee74a4e675ece6bdd37b9aca3f9ad (diff) |
Cleanup: spelling in comments
Also move mis-placed doc-string.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 96abea0e5ee..f0eb16a819d 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -366,9 +366,6 @@ void BKE_object_empty_draw_type_set(struct Object *ob, int value); void BKE_object_boundbox_calc_from_mesh(struct Object *ob, const struct Mesh *me_eval); bool BKE_object_boundbox_calc_from_evaluated_geometry(struct Object *ob); -/** - * Calculate visual bounds from an empty objects draw-type. - */ void BKE_object_minmax(struct Object *ob, float r_min[3], float r_max[3], bool use_hidden); bool BKE_object_minmax_dupli(struct Depsgraph *depsgraph, struct Scene *scene, @@ -376,6 +373,12 @@ bool BKE_object_minmax_dupli(struct Depsgraph *depsgraph, float r_min[3], float r_max[3], bool use_hidden); +/** + * Calculate visual bounds from an empty objects draw-type. + * + * \note This is not part of the calculation used by #BKE_object_boundbox_get + * as these bounds represent the extents of visual guides (use for viewport culling for e.g.) + */ bool BKE_object_minmax_empty_drawtype(const struct Object *ob, float r_min[3], float r_max[3]); /** |