Blender V5.3
GEO_xpbd_constraint_coloring_utils.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_index_mask.hh"
9
11
12namespace blender::xpbd {
13
14ConstraintColoring color_constraints__unary(const Span<int> affected_points,
15 LinearAllocator<> &memory);
16
17ConstraintColoring color_constraints__binary(const Span<int2> affected_points,
18 LinearAllocator<> &memory);
19
20ConstraintColoring color_constraints__n_ary(const GroupedSpan<int> affected_points,
21 LinearAllocator<> &memory);
22
24
25} // namespace blender::xpbd
ConstraintColoring color_constraints__unary(const Span< int > affected_points, LinearAllocator<> &memory)
ConstraintColoring color_constraints__n_ary(const GroupedSpan< int > affected_points, LinearAllocator<> &memory)
ConstraintColoring color_constraints__binary(const Span< int2 > affected_points, LinearAllocator<> &memory)
ConstraintColoring color_constraints__all_independent(const int constraints_num)