#pragma once #include #include #include namespace RNR { class JointsService : public Instance { public: JointsService(); virtual std::string getClassName() { return "JointsService"; } Snap* snap(PartInstance* a, PartInstance* b); void makeJoints(Instance* w, PartInstance* p); void makeJoints(PartInstance* p); void fixWelds(); void breakJoints(PartInstance* b); bool isWelded(PartInstance* a, PartInstance* b); }; }