25 lines
334 B
25 lines
334 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();
|
|
|
|
};
|
|
|
|
} // namespace piMapper
|
|
} // namespace ofx
|