Show
Ignore:
Timestamp:
12/10/07 18:30:18 (6 years ago)
Author:
robert
Message:

From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."

Files:
1 modified

Legend:

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

    r6941 r7648  
    263263 
    264264    /////////////////////////////////////////////////////////////////////////////// 
    265     // alpha luminiance sources..     
     265    // alpha luminance sources..     
    266266    virtual void LA_to_A(unsigned int num, unsigned char* source, unsigned char* dest) const 
    267267    { 
     
    758758    // note, well set the filtering up so that mip mapping is disabled, 
    759759    // gluBuild3DMipsmaps doesn't do a very good job of handled the 
    760     // inbalanced dimensions of the 256x256x4 texture. 
     760    // imbalanced dimensions of the 256x256x4 texture. 
    761761    osg::Texture3D* texture3D = new osg::Texture3D; 
    762762    texture3D->setFilter(osg::Texture3D::MIN_FILTER,osg::Texture3D::LINEAR); 
     
    11391139        // note, well set the filtering up so that mip mapping is disabled, 
    11401140        // gluBuild3DMipsmaps doesn't do a very good job of handled the 
    1141         // inbalanced dimensions of the 256x256x4 texture. 
     1141        // imbalanced dimensions of the 256x256x4 texture. 
    11421142        osg::Texture3D* texture3D = new osg::Texture3D; 
    11431143        texture3D->setFilter(osg::Texture3D::MIN_FILTER,osg::Texture3D::LINEAR); 
     
    13331333            for(int t=0;t<sizeT;++t) 
    13341334            { 
    1335                 // reset the indices to begining 
     1335                // reset the indices to beginning 
    13361336                readOp._pos = 0; 
    13371337                writeOp._pos = 0; 
     
    15631563    arguments.reportRemainingOptionsAsUnrecognized(); 
    15641564 
    1565     // report any errors if they have occured when parsing the program aguments. 
     1565    // report any errors if they have occurred when parsing the program arguments. 
    15661566    if (arguments.errors()) 
    15671567    { 
     
    15701570    } 
    15711571 
    1572     // assume remaining argments are file names of textures. 
     1572    // assume remaining arguments are file names of textures. 
    15731573    for(int pos=1;pos<arguments.argc() && !image_3d;++pos) 
    15741574    {