diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-18 05:05:07 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-18 06:13:58 +0300 |
commit | 20df402adc871a76cd98f7de116c48bebd151ce3 (patch) | |
tree | 7265aa7b2b4147f860697209ac15a32daf2744a3 /source/blender/blenkernel/intern | |
parent | 7220897280e285305d8ab908a3ca95f8311dfa3e (diff) |
Cleanup: move docs to definition
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/subdiv_modifier.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/volume.cc | 5 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/volume_to_mesh.cc | 9 |
3 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/blenkernel/intern/subdiv_modifier.c b/source/blender/blenkernel/intern/subdiv_modifier.c index bafcb631f59..65809782f8f 100644 --- a/source/blender/blenkernel/intern/subdiv_modifier.c +++ b/source/blender/blenkernel/intern/subdiv_modifier.c @@ -124,8 +124,6 @@ bool BKE_subsurf_modifier_can_do_gpu_subdiv(const Scene *scene, void (*BKE_subsurf_modifier_free_gpu_cache_cb)(Subdiv *subdiv) = NULL; -/* Main goal of this function is to give usable subdivision surface descriptor - * which matches settings and topology. */ Subdiv *BKE_subsurf_modifier_subdiv_descriptor_ensure(const SubsurfModifierData *smd, const SubdivSettings *subdiv_settings, const Mesh *mesh, diff --git a/source/blender/blenkernel/intern/volume.cc b/source/blender/blenkernel/intern/volume.cc index 579526a051f..39a7725bfa3 100644 --- a/source/blender/blenkernel/intern/volume.cc +++ b/source/blender/blenkernel/intern/volume.cc @@ -1556,11 +1556,6 @@ bool BKE_volume_grid_bounds(openvdb::GridBase::ConstPtr grid, float3 &r_min, flo return true; } -/** - * Return a new grid pointer with only the metadata and transform changed. - * This is useful for instances, where there is a separate transform on top of the original - * grid transform that must be applied for some operations that only take a grid argument. - */ openvdb::GridBase::ConstPtr BKE_volume_grid_shallow_transform(openvdb::GridBase::ConstPtr grid, const blender::float4x4 &transform) { diff --git a/source/blender/blenkernel/intern/volume_to_mesh.cc b/source/blender/blenkernel/intern/volume_to_mesh.cc index 733549c0022..336ce724e35 100644 --- a/source/blender/blenkernel/intern/volume_to_mesh.cc +++ b/source/blender/blenkernel/intern/volume_to_mesh.cc @@ -121,11 +121,6 @@ struct VolumeToMeshOp { } }; -/** - * Convert mesh data from the format provided by OpenVDB into Blender's #Mesh data structure. - * This can be used to add mesh data from a grid into an existing mesh rather than merging multiple - * meshes later on. - */ void fill_mesh_from_openvdb_data(const Span<openvdb::Vec3s> vdb_verts, const Span<openvdb::Vec3I> vdb_tris, const Span<openvdb::Vec4I> vdb_quads, @@ -165,10 +160,6 @@ void fill_mesh_from_openvdb_data(const Span<openvdb::Vec3s> vdb_verts, } } -/** - * Convert an OpenVDB volume grid to corresponding mesh data: vertex positions and quad and - * triangle indices. - */ bke::OpenVDBMeshData volume_to_mesh_data(const openvdb::GridBase &grid, const VolumeToMeshResolution &resolution, const float threshold, |