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
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();
|
|
};
|
|
}
|
|
}
|