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.
29 lines
500 B
29 lines
500 B
// SaveTexCoordPosCmd
|
|
// Saves current position of the texture coordinate and resets it.
|
|
// Created by Krisjanis Rijnieks 2016-10-30
|
|
|
|
#pragma once
|
|
|
|
#include "BaseCmd.h"
|
|
#include "CircleJoint.h"
|
|
#include "Gui.h"
|
|
|
|
namespace ofx {
|
|
namespace piMapper {
|
|
|
|
class SaveTexCoordPosCmd : public BaseUndoCmd {
|
|
|
|
public:
|
|
SaveTexCoordPosCmd(int texCoordIndex, ofVec2f position);
|
|
void exec();
|
|
void undo();
|
|
|
|
private:
|
|
int _texCoordIndex;
|
|
ofVec2f _position;
|
|
|
|
};
|
|
|
|
} // namespace piMapper
|
|
} // namespace ofx
|
|
|
|
|