You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
655 B
36 lines
655 B
#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);
|
|
}
|
|
|