Show
Ignore:
Timestamp:
04/01/10 23:04:36 (5 years ago)
Author:
robert
Message:

Added window size event handler

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgterrain/osgterrain.cpp

    r11301 r11306  
    169169    viewer.addEventHandler(new osgViewer::RecordCameraPathHandler); 
    170170 
     171    // add the window size toggle handler 
     172    viewer.addEventHandler(new osgViewer::WindowSizeHandler); 
     173 
    171174    // obtain the vertical scale 
    172175    float verticalScale = 1.0f;