diff options
Diffstat (limited to 'basedProject/src/mapUtils.h')
| -rw-r--r-- | basedProject/src/mapUtils.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/basedProject/src/mapUtils.h b/basedProject/src/mapUtils.h new file mode 100644 index 0000000..c362e66 --- /dev/null +++ b/basedProject/src/mapUtils.h @@ -0,0 +1,20 @@ +/* + * 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); +void bindTex(ofTexture &tex); +void unbindTex(ofTexture &tex); +ofPoint distort(ofPoint pt,float d); +void drawBox(float size); +void drawBoard(float x,float y,float z); +void drawCylinder(float r,float h,float x,float y,float z); + |
