22 lines
292 B
22 lines
292 B
#pragma once
|
|
|
|
#include "ofMain.h"
|
|
#include "BaseJoint.h"
|
|
|
|
namespace ofx {
|
|
namespace piMapper {
|
|
class CircleJoint : public BaseJoint {
|
|
public:
|
|
CircleJoint();
|
|
|
|
void update();
|
|
void draw();
|
|
bool hitTest(ofVec2f position);
|
|
|
|
private:
|
|
float radius;
|
|
|
|
void setDefaultProperties();
|
|
};
|
|
}
|
|
}
|