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/osgplanets/osgplanets.cpp

    r3701 r4805  
    456456        if ( image ) 
    457457        { 
    458             osg::Texture2D* tex2d = new osg::Texture2D( image ); 
    459             tex2d->setWrap( osg::Texture::WRAP_S, osg::Texture::REPEAT ); 
    460             tex2d->setWrap( osg::Texture::WRAP_T, osg::Texture::REPEAT ); 
     458            osg::Texture2D* tex2d = new osg::Texture2D( image ); 
     459            tex2d->setWrap( osg::Texture::WRAP_S, osg::Texture::REPEAT ); 
     460            tex2d->setWrap( osg::Texture::WRAP_T, osg::Texture::REPEAT ); 
    461461            geodePlanet->getOrCreateStateSet()->setTextureAttributeAndModes( 0, tex2d, osg::StateAttribute::ON ); 
    462462 
     
    495495 
    496496            stateset->setTextureAttribute( 1, texenv ); 
    497             osg::Texture2D* tex2d = new osg::Texture2D( image ); 
    498             tex2d->setWrap( osg::Texture::WRAP_S, osg::Texture::REPEAT ); 
    499             tex2d->setWrap( osg::Texture::WRAP_T, osg::Texture::REPEAT ); 
     497            osg::Texture2D* tex2d = new osg::Texture2D( image ); 
     498            tex2d->setWrap( osg::Texture::WRAP_S, osg::Texture::REPEAT ); 
     499            tex2d->setWrap( osg::Texture::WRAP_T, osg::Texture::REPEAT ); 
    500500            stateset->setTextureAttributeAndModes( 1, tex2d, osg::StateAttribute::ON ); 
    501501        }