ofxPiMapper fixed for C++17 & oF 12.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
334 B

#ifndef H_OFX_CIRCLE_JOINT
#define H_OFX_CIRCLE_JOINT
#include "ofMain.h"
#include "ofxBaseJoint.h"
class ofxCircleJoint : public ofxBaseJoint
{
public:
ofxCircleJoint();
void update();
void draw();
bool hitTest(ofVec2f position);
private:
float radius;
void setDefaultProperties();
};
#endif