1 #ifndef _RIVE_WEIGHT_HPP_
2 #define _RIVE_WEIGHT_HPP_
3 #include "generated/bones/weight_base.hpp"
4 #include "math/vec2d.hpp"
9 class Weight : public WeightBase
15 Vec2D& translation() { return m_Translation; }
17 StatusCode onAddedDirty(CoreContext* context) override;
19 static void deform(float x,
24 const float* boneTransforms,