Browse Source

Update Key Bindings to support CircleSurface

Bound to 'r'
Update Info.cpp to show the new key binding in the help screen.
master
c-mendoza 8 years ago
parent
commit
a8821686cc
  1. 8
      src/Application/Modes/ProjectionMappingMode.cpp
  2. 11
      src/Info/Info.cpp

8
src/Application/Modes/ProjectionMappingMode.cpp

@ -58,8 +58,12 @@ void ProjectionMappingMode::onKeyPressed(Application * app, ofKeyEventArgs & arg
case 'q':
app->createSurface(SurfaceType::QUAD_SURFACE);
break;
break;
case 'r':
app->createSurface(SurfaceType::CIRCLE_SURFACE);
break;
case 'g':
app->createSurface(SurfaceType::GRID_WARP_SURFACE);
break;

11
src/Info/Info.cpp

@ -13,15 +13,16 @@ Info::Info(){
" 3. Projection mapping mode\n"
" - Press <,> and <.> to select previous or next surface\n"
" - Press \"<\" and \">\" to select previous or next vertex\n"
" - Press <t> to add new triangle surface\n"
" - Press <q> to add new quad surface\n"
" - Press <p> to toggle perspective warping while quad surface selected\n"
" - Press <g> to add new grid surface\n"
" - Press <t> to add new Triangle surface\n"
" - Press <q> to add new Quad surface\n"
" - Press <r> to add a new ciRcle surface\n"
" - Press <p> to toggle Perspective warping while quad surface selected\n"
" - Press <g> to add new Grid surface\n"
" - Press <[> and <]> to remove or add columns to selected grid surface\n"
" - Press <{> and <}> to remove or add rows to selected grid surface\n"
" - Press <+> and <-> to scale surface up and down\n"
" - Press <9> and <0> to move selected surface one layer up or down\n"
" - Press <l> to hide/show layer panel\n"
" - Press <l> to hide/show Layer panel\n"
" - Press <BACKSPACE> to delete selection\n"
" - Press <SPACE> to play/pause the video\n"
" - Type <new> to clear composition\n"

Loading…
Cancel
Save