diff --git a/src/ofxProjectionEditor.cpp b/src/ofxProjectionEditor.cpp index 6c49856..b1c7bc1 100644 --- a/src/ofxProjectionEditor.cpp +++ b/src/ofxProjectionEditor.cpp @@ -59,6 +59,17 @@ void ofxProjectionEditor::updateJoints() } } +void ofxProjectionEditor::moveSelectedSurface(ofVec2f by) +{ + if ( surfaceManager == NULL ) return; + if ( surfaceManager->getSelectedSurface() == NULL ) return; + vector& vertices = surfaceManager->getSelectedSurface()->getVertices(); + for (int i=0; i& vertices = surfaceManager->getSelectedSurface()->getVertices(); - for ( int i=0; i