diff options
| author | Comment <tim@gray.(none)> | 2014-02-26 10:57:16 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2014-02-26 10:57:16 +0000 |
| commit | 0e436679aa8c09a08e20849f204c969eb2d875b8 (patch) | |
| tree | 2619f53f16c571dc19326d395aa420ceb0a29de7 /basedProject/src/mapUtils.h | |
initial commit
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); + |
