Browse Source

Simplify example by using new `registerFboSource` method override

master
Krisjanis Rijnieks 9 years ago
parent
commit
a765444aa8
  1. 4
      example/src/ofApp.cpp

4
example/src/ofApp.cpp

@ -13,8 +13,8 @@ void ofApp::setup(){
// a surface in XML settings.
crossSource = new CrossSource();
customSource = new CustomSource();
piMapper.registerFboSource(*crossSource);
piMapper.registerFboSource(*customSource);
piMapper.registerFboSource(crossSource);
piMapper.registerFboSource(customSource);
piMapper.setup();
// The info layer is hidden by default, press <i> to toggle

Loading…
Cancel
Save