Show
Ignore:
Timestamp:
11/17/05 21:22:55 (9 years ago)
Author:
robert
Message:

Replaced tabs with spaces in examples.

Files:
1 modified

Legend:

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

    r4727 r4805  
    493493            int num_s = osg::minimum(image->s(), image_3d->s()); 
    494494         
    495             unsigned int s_offset_dest = (image->s()<s_nearestPowerOfTwo) ? s_nearestPowerOfTwo/2 - image->s()/2 : 0; 
    496             unsigned int t_offset_dest = (image->t()<t_nearestPowerOfTwo) ? t_nearestPowerOfTwo/2 - image->t()/2 : 0; 
     495            unsigned int s_offset_dest = (image->s()<s_nearestPowerOfTwo) ? s_nearestPowerOfTwo/2 - image->s()/2 : 0; 
     496            unsigned int t_offset_dest = (image->t()<t_nearestPowerOfTwo) ? t_nearestPowerOfTwo/2 - image->t()/2 : 0; 
    497497 
    498498            for(int r=0;r<num_r;++r, ++curr_dest_r) 
     
    10121012    if (normalmap_3d.valid()) 
    10131013    { 
    1014         if (two_pass) 
    1015         { 
     1014        if (two_pass) 
     1015        { 
    10161016 
    10171017            // set up normal texture 
     
    10771077            stateset->setTextureAttributeAndModes(1,new osg::TexEnv(),osg::StateAttribute::ON); 
    10781078 
    1079         } 
     1079        } 
    10801080        else 
    10811081        {