blob: ed69d290f7826e58b15e03b6a8f2e87d1af2eeb6 [file] [log] [blame] [edit]
#ifndef _RIVE_ROTATION_CONSTRAINT_HPP_
#define _RIVE_ROTATION_CONSTRAINT_HPP_
#include "rive/generated/constraints/rotation_constraint_base.hpp"
#include "rive/math/transform_components.hpp"
#include <stdio.h>
namespace rive
{
class RotationConstraint : public RotationConstraintBase
{
private:
TransformComponents m_ComponentsA;
TransformComponents m_ComponentsB;
protected:
bool requiresTarget() override { return false; }
public:
void constrain(TransformComponent* component) override;
};
} // namespace rive
#endif