Okay I'm starting to see how this works but it still produces an error.
error: '(valX - ((ofApp*)this)->ofApp::.ofBaseApp::mouseX)' cannot be used as a function
Okay I'm starting to see how this works but it still produces an error.
error: '(valX - ((ofApp*)this)->ofApp::.ofBaseApp::mouseX)' cannot be used as a function