Cleanup: Remove unused function
This commit is contained in:
parent
fecef2ae74
commit
ce352e6d00
|
@ -13,7 +13,6 @@
|
|||
#include "DNA_meshdata_types.h"
|
||||
|
||||
#include "BKE_attribute.h"
|
||||
#include "BKE_attribute.hh"
|
||||
|
||||
struct Mesh;
|
||||
struct BVHTreeFromMesh;
|
||||
|
@ -77,10 +76,6 @@ class MeshAttributeInterpolator {
|
|||
eAttributeMapMode mode,
|
||||
const GMutableSpan dst);
|
||||
|
||||
void sample_attribute(const GAttributeReader &src_attribute,
|
||||
GSpanAttributeWriter &dst_attribute,
|
||||
eAttributeMapMode mode);
|
||||
|
||||
protected:
|
||||
Span<float3> ensure_barycentric_coords();
|
||||
Span<float3> ensure_nearest_weights();
|
||||
|
|
|
@ -252,15 +252,6 @@ void MeshAttributeInterpolator::sample_data(const GVArray &src,
|
|||
}
|
||||
}
|
||||
|
||||
void MeshAttributeInterpolator::sample_attribute(const GAttributeReader &src_attribute,
|
||||
GSpanAttributeWriter &dst_attribute,
|
||||
eAttributeMapMode mode)
|
||||
{
|
||||
if (src_attribute && dst_attribute) {
|
||||
this->sample_data(src_attribute.varray, src_attribute.domain, mode, dst_attribute.span);
|
||||
}
|
||||
}
|
||||
|
||||
int sample_surface_points_spherical(RandomNumberGenerator &rng,
|
||||
const Mesh &mesh,
|
||||
const Span<int> looptri_indices_to_sample,
|
||||
|
|
Loading…
Reference in New Issue