diff options
author | Jacques Lucke <jacques@blender.org> | 2021-01-05 19:04:02 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-01-05 19:04:02 +0300 |
commit | 583006d0ef1a0b71c66dfab9c37cc4de27cf81d4 (patch) | |
tree | ab1182bd569efba44feb27f38498a1e08d9db629 /source/blender/nodes | |
parent | 39f99fd05c353137130afd7fb101c9a78106d47b (diff) |
Cleanup: clang tidy
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/node_geometry_util.hh | 2 | ||||
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_point_distribute_poisson_disk.cc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/nodes/geometry/node_geometry_util.hh b/source/blender/nodes/geometry/node_geometry_util.hh index d9c066d576f..7c4963b1f3f 100644 --- a/source/blender/nodes/geometry/node_geometry_util.hh +++ b/source/blender/nodes/geometry/node_geometry_util.hh @@ -42,7 +42,7 @@ namespace blender::nodes { void update_attribute_input_socket_availabilities(bNode &node, const StringRef name, const GeometryNodeAttributeInputMode mode, - const bool can_be_available = true); + const bool name_is_available = true); CustomDataType attribute_domain_highest_complexity(Span<CustomDataType>); diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_distribute_poisson_disk.cc b/source/blender/nodes/geometry/nodes/node_geo_point_distribute_poisson_disk.cc index 9f49fe3f5f4..005fec71f86 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_distribute_poisson_disk.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_distribute_poisson_disk.cc @@ -264,18 +264,18 @@ static void progressive_sampling_reorder(Vector<float3> *output_points, void poisson_disk_point_elimination(Vector<float3> const *input_points, Vector<float3> *output_points, - float maximum_density, + float maximum_distance, float3 boundbox) { weighted_sample_elimination(input_points->data(), input_points->size(), output_points->data(), output_points->size(), - maximum_density, + maximum_distance, boundbox, false); - progressive_sampling_reorder(output_points, maximum_density, boundbox); + progressive_sampling_reorder(output_points, maximum_distance, boundbox); } } // namespace blender::nodes |