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; }