[Bf-blender-cvs] [f4ab719f569] soc-2022-many-lights-sampling: Cleanup: unify variable names in function declaration and definition

Weizhen Huang noreply at git.blender.org
Wed Nov 30 14:24:03 CET 2022


Commit: f4ab719f569472aa48391488ddd4f90634569205
Author: Weizhen Huang
Date:   Wed Nov 30 14:21:42 2022 +0100
Branches: soc-2022-many-lights-sampling
https://developer.blender.org/rBf4ab719f569472aa48391488ddd4f90634569205

Cleanup: unify variable names in function declaration and definition

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

M	intern/cycles/scene/light_tree.h

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

diff --git a/intern/cycles/scene/light_tree.h b/intern/cycles/scene/light_tree.h
index 2f12ad4f3f3..18f552924a9 100644
--- a/intern/cycles/scene/light_tree.h
+++ b/intern/cycles/scene/light_tree.h
@@ -144,13 +144,13 @@ class LightTree {
  private:
   int recursive_build(
       int start, int end, vector<LightTreePrimitive> &prims, uint bit_trail, int depth);
-  float min_split_saoh(const BoundBox &centroid_bounds,
+  float min_split_saoh(const BoundBox &centroid_bbox,
                        int start,
                        int end,
                        const BoundBox &bbox,
                        const OrientationBounds &bcone,
-                       int &min_dim,
-                       int &min_bucket,
+                       int &split_dim,
+                       int &split_bucket,
                        int &num_left_prims,
                        const vector<LightTreePrimitive> &prims);
 };



More information about the Bf-blender-cvs mailing list