Changeset 10070

Show
Ignore:
Timestamp:
04/22/09 14:52:22 (4 years ago)
Author:
robert
Message:

From Chris Hanson, spelling and grammer fixes

Location:
OpenSceneGraph/trunk/examples/osghangglide
Files:
2 modified

Legend:

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

    r8868 r10070  
    7777osg::Group* createModel() 
    7878{ 
    79     // no database loaded so automatically create Ed Levin Park.. 
     79    // no database loaded so automatically create Ed Levin Park 
    8080    osg::Group* group = new osg::Group; 
    8181 
     
    8888    clearNode->setRequiresClear(false); // we've got base and sky to do it. 
    8989 
    90     // use a transform to make the sky and base around with the eye point. 
     90    // use a transform to make the sky and base move around with the eye point. 
    9191    osg::Transform* transform = new MoveEarthySkyWithEyePointTransform; 
    9292 
    9393    // transform's value isn't knowm until in the cull traversal so its bounding 
    9494    // volume is can't be determined, therefore culling will be invalid, 
    95     // so switch it off, this cause all our paresnts to switch culling 
    96     // off as well. But don't worry culling will be back on once underneath 
     95    // so switch it off, this causes all our paresnts to switch culling 
     96    // off as well. But don't worry, culling will be back on once underneath 
    9797    // this node or any other branch above this transform. 
    9898    transform->setCullingActive(false); 
     
    108108    group->addChild(clearNode); 
    109109 
    110     // the rest of the scene drawn after the base and sky above. 
     110    // the rest of the scene is drawn after the base and sky above. 
    111111    group->addChild(makeTrees()); // will drop into a transparent, depth sorted bin (1) 
    112112    group->addChild(makeTerrain()); // will drop into default bin - state sorted 0 
     
    133133    osgViewer::Viewer viewer; 
    134134 
    135     // if user request help write it out to cout. 
     135    // if user requests help write it out to cout. 
    136136    if (arguments.read("-h") || arguments.read("--help")) 
    137137    { 
     
    194194    } 
    195195 
    196     // set up the camera manipulation with out custom manipultor 
     196    // set up the camera manipulation with our custom manipultor 
    197197    viewer.setCameraManipulator(new GliderManipulator()); 
    198198 
  • OpenSceneGraph/trunk/examples/osghangglide/tank.cpp

    r6941 r10070  
    7777        ); 
    7878 
    79     // 42 required for sodes, 22 for the top. 
     79    // 42 required for sides, 22 for the top. 
    8080    Vec3Array& vc = *(new Vec3Array(42+22)); 
    8181    Vec2Array& tc = *(new Vec2Array(42+22));