summaryrefslogtreecommitdiff
path: root/src/mapUtils.h
blob: c362e66336ea176fe91ff5563150ea77c7a0e882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);