diff --git a/examples/osglauncher/osglauncher.cpp b/examples/osglauncher/osglauncher.cpp index 344b14b03..8ead38b20 100644 --- a/examples/osglauncher/osglauncher.cpp +++ b/examples/osglauncher/osglauncher.cpp @@ -65,14 +65,14 @@ bool PickHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapte case(osgGA::GUIEventAdapter::FRAME): case(osgGA::GUIEventAdapter::MOVE): { - osg::notify(osg::NOTICE)<<"MOVE "<addChild( transX ); - // nächster punkt um einen cube zu zeichnen + // line feed if(z < itemsInLine) xnext += xjump; else { xnext = xstart; znext -= zjump; - z = 1; + z = 0; } - } // end loop to run through list + } // end run through list return xGroup; } // end setupGraph @@ -413,7 +412,7 @@ int main( int argc, char **argv ) osg::Matrix lookAt; lookAt.makeLookAt(osg::Vec3(0.0f, -4.0f, 0.0f), centerScope, osg::Vec3(0.0f, 0.0f, 1.0f)); -// viewer.setView(lookAt); + //viewer.setView(lookAt); while( !viewer.done() ) { @@ -425,7 +424,7 @@ int main( int argc, char **argv ) viewer.update(); // to be able to turn scene, place next call before viewer.update() - // viewer.setView(lookAt); + viewer.setView(lookAt); // fire off the cull and draw traversals of the scene.