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