4 changed files with 50 additions and 2 deletions
@ -0,0 +1,16 @@ |
|||
#include "ofxCircleJoint.h" |
|||
|
|||
void ofxCircleJoint::mousePressed(ofMouseEventArgs &args) |
|||
{ |
|||
cout << "mouse pressed" << endl; |
|||
} |
|||
|
|||
void ofxCircleJoint::mouseReleased(ofMouseEventArgs &args) |
|||
{ |
|||
cout << "mouse released" << endl; |
|||
} |
|||
|
|||
void ofxCircleJoint::mouseDragged(ofMouseEventArgs &args) |
|||
{ |
|||
cout << "mouse dragged" << endl; |
|||
} |
@ -0,0 +1,15 @@ |
|||
#ifndef H_OFX_CIRCLE_JOINT |
|||
#define H_OFX_CIRCLE_JOINT |
|||
|
|||
#include "ofMain.h" |
|||
#include "ofxBaseJoint.h" |
|||
|
|||
class ofxCircleJoint : public ofxBaseJoint |
|||
{ |
|||
public: |
|||
void mousePressed(ofMouseEventArgs& args); |
|||
void mouseReleased(ofMouseEventArgs& args); |
|||
void mouseDragged(ofMouseEventArgs& args); |
|||
}; |
|||
|
|||
#endif |
Loading…
Reference in new issue