ofxPiMapper fixed for C++17 & oF 12.0
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.
 
 

21 lines
382 B

#include "SelNextVertexCmd.h"
namespace ofx {
namespace piMapper {
SelNextVertexCmd::SelNextVertexCmd(SurfaceManager * sm){
_surfaceManager = sm;
}
void SelNextVertexCmd::exec(){
_surfaceManager->selectNextVertex();
}
void SelNextVertexCmd::undo(){
ofLogNotice("SelNextVertexCmd", "undo");
_surfaceManager->selectPrevVertex();
}
} // namespace piMapper
} // namespace ofx