@ -287,5 +287,9 @@ void QuadSurface::setPerspectiveWarping(bool b){
_perspectiveWarping = b;
}
bool QuadSurface::getPerspectiveWarping(){
return _perspectiveWarping;
} // namespace piMapper
} // namespace ofx
@ -37,6 +37,7 @@ class QuadSurface : public BaseSurface {
vector <ofVec2f> & getTexCoords();
void setPerspectiveWarping(bool b);
bool getPerspectiveWarping();
private:
void calculate4dTextureCoords();