/* SPDX-License-Identifier: GPL-2.0-or-later */ #include "BLI_function_ref.hh" #include "BLI_math_matrix_types.hh" #include "BLI_string_ref.hh" #include "DNA_modifier_types.h" #pragma once struct Volume; struct VolumeGrid; /** \file * \ingroup geo */ namespace blender::geometry { #ifdef WITH_OPENVDB /** * Add a new fog VolumeGrid to the Volume by converting the supplied points. */ VolumeGrid *fog_volume_grid_add_from_points(Volume *volume, StringRefNull name, Span positions, Span radii, float voxel_size, float density); /** * Add a new SDF VolumeGrid to the Volume by converting the supplied points. */ VolumeGrid *sdf_volume_grid_add_from_points(Volume *volume, StringRefNull name, Span positions, Span radii, float voxel_size); #endif } // namespace blender::geometry