#pragma once #include #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 breakJoints(PartInstance* b); void makeModelJoints(ModelInstance* m); void breakModelJoints(ModelInstance* m); void fixWelds(); bool isWelded(PartInstance* a, PartInstance* b); }; }