Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
firmread committed Feb 23, 2016
1 parent 9a98147 commit f0cc9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/communication/oscReceiveExample/src/ofApp.cpp
Expand Up @@ -32,13 +32,13 @@ void ofApp::update(){

// check for mouse moved message
if(m.getAddress() == "/mouse/position"){
// both the arguments are int32's
// both the arguments are float's
mouseXf = m.getArgAsFloat(0);
mouseYf = m.getArgAsFloat(1);
}
// check for mouse button message
else if(m.getAddress() == "/mouse/button"){
// the single argument is a string
// first argument is int32, second is a string
mouseButtonInt = m.getArgAsInt32(0);
mouseButtonState = m.getArgAsString(1);
}
Expand Down

0 comments on commit f0cc9a0

Please sign in to comment.