From a728ca18def61a13bbd7d0680dfab011d7ea20ac Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sat, 31 Dec 2011 18:14:38 +0000 Subject: succesfully combined camera and FBO --- src/mapUtils.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/mapUtils.h (limited to 'src/mapUtils.h') diff --git a/src/mapUtils.h b/src/mapUtils.h new file mode 100644 index 0000000..002f90a --- /dev/null +++ b/src/mapUtils.h @@ -0,0 +1,16 @@ +/* + * mapUtils.h + * + * Created by Tim Redfern on 20/12/2011. + * global utils for projection mapping + * + */ +#pragma once + +#include "ofMain.h" + +void bindTexture(ofBaseHasTexture &t); +void unbindTexture(ofBaseHasTexture &t); +ofPoint distort(ofPoint pt,float d); +void drawBox(float size); + -- cgit v1.2.3