Skip to content

Commit

Permalink
Add in scale support for OSC control
Browse files Browse the repository at this point in the history
  • Loading branch information
stefang committed Dec 12, 2013
1 parent c51c43f commit d79d767
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ofxSphereCamControlExample/src/testApp.cpp
Expand Up @@ -6,7 +6,7 @@ void testApp::setup(){
// Setup Camera and Control

sCamControl.setCamRef(&sCam); // This tells the control add on which camera to control if you have more than one
sCamControl.setOSC("192.168.1.82", 7000, 7001); // Adjust this to match the iPad ip address and ports in TouchOSC
sCamControl.setOSC("192.168.0.104", 7000, 7001); // Adjust this to match the iPad ip address and ports in TouchOSC

sCam.handheld = true;

Expand Down
4 changes: 4 additions & 0 deletions src/ofxSphereCamControl.cpp
Expand Up @@ -17,6 +17,10 @@ void ofxSphereCamControl::setOSC(string host, int inport, int outport ) {
receiver.setup(inport);
}

void ofxSphereCamControl::setScale(float s) {
scale = s;
}

void ofxSphereCamControl::update() {

// Check for incoming from TouchOSC
Expand Down

0 comments on commit d79d767

Please sign in to comment.