Show
Ignore:
Timestamp:
10/21/09 16:14:22 (5 years ago)
Author:
robert
Message:

Added stats handler

Files:
1 modified

Legend:

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

    r10642 r10655  
    2121#include <osgDB/WriteFile> 
    2222#include <osgViewer/Viewer> 
     23#include <osgViewer/ViewerEventHandlers> 
    2324#include <osgGA/TrackballManipulator> 
    2425 
     
    336337    viewer.setCameraManipulator(new osgGA::TrackballManipulator()); 
    337338 
     339    // add the stats handler 
     340    viewer.addEventHandler(new osgViewer::StatsHandler); 
     341 
    338342    viewer.realize(); 
    339343