@ -2,6 +2,7 @@
void ofApp::setup()
{
//ofGetCurrentRenderer()->setLineSmoothing(true);
// Load test pattern image
image.loadImage("TestPatternInvert.jpg");
@ -57,6 +57,7 @@ void ofxBaseJoint::setDefaultProperties()
clickDistance = ofVec2f(0.0f, 0.0f);
dragging = false;
selected = false;
strokeWidth = 1.5f;
}
void ofxBaseJoint::registerAppEvents()
@ -26,6 +26,7 @@ public:
protected:
ofColor fillColor;
ofColor strokeColor;
float strokeWidth;
ofVec2f clickDistance;
bool dragging;
@ -21,6 +21,7 @@ void ofxCircleJoint::draw(ofEventArgs& args)
ofCircle(position.x, position.y, radius);
ofNoFill();
ofSetColor(strokeColor);
ofSetLineWidth(strokeWidth);
ofPopStyle();