X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=blendshapes.hpp;fp=blendshapes.hpp;h=fd3bcc4264cbb6a0957b32e275c603e9e3d9ad82;hp=0000000000000000000000000000000000000000;hb=d2a4cfcd292f5bc422a025d43855e5f4f21fb161;hpb=b472351f3c80cec8c7e9ec30cb4c113c947c0ff7 diff --git a/blendshapes.hpp b/blendshapes.hpp new file mode 100644 index 0000000..fd3bcc4 --- /dev/null +++ b/blendshapes.hpp @@ -0,0 +1,10 @@ +#include "model.hpp" +struct Blendshapes { + Model *model; + std::vector neutral; + std::vector> deltas; +}; + +void createBlendshapes(std::vector blendshapes, std::string neutral, Program p, Blendshapes *res); + +void interpolateBlendshapes(Blendshapes *b, std::vector amounts);