[Bf-blender-cvs] [c713e9c4724] blender2.8: Draw Manager: Improve description of `draw_frustum_boundbox_calc` variables

Germano noreply at git.blender.org
Tue Apr 3 17:19:06 CEST 2018


Commit: c713e9c4724f2f75e28eb421021ed0428e919aab
Author: Germano
Date:   Tue Apr 3 12:18:56 2018 -0300
Branches: blender2.8
https://developer.blender.org/rBc713e9c4724f2f75e28eb421021ed0428e919aab

Draw Manager: Improve description of `draw_frustum_boundbox_calc` variables

===================================================================

M	source/blender/draw/intern/draw_manager_exec.c

===================================================================

diff --git a/source/blender/draw/intern/draw_manager_exec.c b/source/blender/draw/intern/draw_manager_exec.c
index 07df8c28aeb..58cd6ce44c6 100644
--- a/source/blender/draw/intern/draw_manager_exec.c
+++ b/source/blender/draw/intern/draw_manager_exec.c
@@ -397,9 +397,8 @@ static void draw_frustum_boundbox_calc(const float (*projmat)[4], const float (*
 	copy_m3_m4(screenvecs, viewinv);
 	copy_v3_v3(loc, viewinv[3]);
 
-	/* get the values of the minimum and maximum
-	 * clipping planes distances and the height and
-	  *width of the near plane divided by half. */
+	/* get the values of the minimum and maximum clipping planes distances
+	 * and half the width and height of the nearplane rectangle. */
 	if (is_persp) {
 		near = projmat[3][2] / (projmat[2][2] - 1.0f);
 		far = projmat[3][2] / (projmat[2][2] + 1.0f);



More information about the Bf-blender-cvs mailing list