// MvTexCoordCmd // Move texture coordinate of a selected surface and be able to undo it // Created by Krisjanis Rijnieks 2015-05-19 #pragma once #include "BaseCmd.h" #include "CircleJoint.h" #include "Gui.h" namespace ofx { namespace piMapper { class MvTexCoordCmd : public BaseUndoCmd { public: MvTexCoordCmd(int texCoordIndex, ofVec2f by); void exec(); void undo(); private: int _texCoordIndex; ofVec2f _moveBy; ofVec2f _positionBefore; }; } // namespace piMapper } // namespace ofx