#include "ofApp.h" void ofApp::setup(){ ofBackground(0); cameraSource = new CameraSource(); piMapper.registerFboSource(*cameraSource); piMapper.setup(); } void ofApp::update(){ piMapper.update(); } void ofApp::draw(){ piMapper.draw(); } void ofApp::keyPressed(int key){ piMapper.keyPressed(key); } void ofApp::keyReleased(int key){ piMapper.keyReleased(key); } void ofApp::mousePressed(int x, int y, int button){ piMapper.mousePressed(x, y, button); } void ofApp::mouseDragged(int x, int y, int button){ piMapper.mouseDragged(x, y, button); } void ofApp::mouseReleased(int x, int y, int button){ piMapper.mouseReleased(x, y, button); }