diff options
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/NOD_math_functions.hh | 8 | ||||
-rw-r--r-- | source/blender/nodes/NOD_socket_search_link.hh | 4 | ||||
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_dual_mesh.cc | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/nodes/NOD_math_functions.hh b/source/blender/nodes/NOD_math_functions.hh index c1f0f043c92..e58c1068368 100644 --- a/source/blender/nodes/NOD_math_functions.hh +++ b/source/blender/nodes/NOD_math_functions.hh @@ -28,15 +28,15 @@ const FloatMathOperationInfo *get_float_compare_operation_info(int operation); /** * This calls the `callback` with two arguments: - * 1. The math function that takes a float as input and outputs a new float. - * 2. A #FloatMathOperationInfo struct reference. + * 1. The math function that takes a float as input and outputs a new float. + * 2. A #FloatMathOperationInfo struct reference. * Returns true when the callback has been called, otherwise false. * * The math function that is passed to the callback is actually a lambda function that is different * for every operation. Therefore, if the callback is templated on the math function, it will get * instantiated for every operation separately. This has two benefits: - * - The compiler can optimize the callback for every operation separately. - * - A static variable declared in the callback will be generated for every operation separately. + * - The compiler can optimize the callback for every operation separately. + * - A static variable declared in the callback will be generated for every operation separately. * * If separate instantiations are not desired, the callback can also take a function pointer with * the following signature as input instead: float (*math_function)(float a). diff --git a/source/blender/nodes/NOD_socket_search_link.hh b/source/blender/nodes/NOD_socket_search_link.hh index 7a1aff13020..8d80da229a7 100644 --- a/source/blender/nodes/NOD_socket_search_link.hh +++ b/source/blender/nodes/NOD_socket_search_link.hh @@ -120,8 +120,8 @@ class GatherLinkSearchOpParams { /** * This callback can be used for a node type when a few things are true about its inputs. * To avoid creating more boilerplate, it is the default callback for node types. - * - Either all declared sockets are visible in the default state of the node, *OR* the node's - * type's declaration has been extended with #make_available functions for those sockets. + * - Either all declared sockets are visible in the default state of the node, *OR* the node's + * type's declaration has been extended with #make_available functions for those sockets. * * If a node type does not meet these criteria, the function will do nothing in a release build. * In a debug build, an assert will most likely be hit. diff --git a/source/blender/nodes/geometry/nodes/node_geo_dual_mesh.cc b/source/blender/nodes/geometry/nodes/node_geo_dual_mesh.cc index 5a2c32a6c8e..2894e608819 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_dual_mesh.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_dual_mesh.cc @@ -627,7 +627,7 @@ static void calc_dual_mesh(GeometrySet &geometry_set, calc_boundaries(mesh_in, vertex_types, edge_types); /* Stores the indices of the polygons connected to the vertex. Because the polygons are looped * over in order of their indices, the polygon's indices will be sorted in ascending order. - (This can change once they are sorted using `sort_vertex_polys`). */ + * (This can change once they are sorted using `sort_vertex_polys`). */ Array<Vector<int>> vertex_poly_indices(mesh_in.totvert); Array<Array<int>> vertex_shared_edges(mesh_in.totvert); Array<Array<int>> vertex_corners(mesh_in.totvert); |