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-06-23 05:05:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-23 06:54:12 +0300
commit5cc8e7ab53cb20a64b8c14268fe2dba2396b4247 (patch)
tree4a33d52711c57a9ed9656898489b44ff0096a222 /source/blender/makesrna/intern/rna_object_api.c
parent2c916c97ac744f5ef6ba35a6f7db68e96c4fbabc (diff)
Cleanup: reformat trailing comments that caused line wrapping
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index e463323c6dc..d08504dd6fe 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -575,8 +575,10 @@ static void rna_Object_ray_cast(Object *ob,
/* Test BoundBox first (efficiency) */
BoundBox *bb = BKE_object_boundbox_get(ob);
float distmin;
- normalize_v3(
- direction); /* Needed for valid distance check from isect_ray_aabb_v3_simple() call. */
+
+ /* Needed for valid distance check from #isect_ray_aabb_v3_simple() call. */
+ normalize_v3(direction);
+
if (!bb ||
(isect_ray_aabb_v3_simple(origin, direction, bb->vec[0], bb->vec[6], &distmin, NULL) &&
distmin <= distance)) {