summaryrefslogtreecommitdiff
path: root/Runtime/Filters/Mesh/MeshBlendShaping.h
blob: 7b39f2643de7a182fd3fb0382a9c075c5b458281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

struct SkinMeshInfo;

// Does "mesh skinning" logic for BlendShapes
void ApplyBlendShapes (SkinMeshInfo& info, UInt8* dst);

inline bool HasValidWeight(const float w)
{
	const float kWeightEpsilon = 1e-4f;
	return w > kWeightEpsilon;
}