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 onAddedClean(CoreContext* context) override
19 return StatusCode::Ok;
21 StatusCode onAddedDirty(CoreContext* context) override;
23 static void deform(float x,
28 const float* boneTransforms,