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.
 
 

29 lines
453 B

#pragma once
#include "SurfaceManager.h"
#include "BaseCmd.h"
#include "GridWarpSurface.h"
#include "ProjectionEditor.h"
class ofxPiMapper;
namespace ofx {
namespace piMapper {
class AddGridRowCmd : public BaseUndoCmd {
public:
AddGridRowCmd(GridWarpSurface * s);
void exec();
void undo();
private:
vector <ofVec3f> _vertices;
vector <ofVec2f> _texCoords;
GridWarpSurface * _surface;
};
} // namespace piMapper
} // namespace ofx