Show
Ignore:
Timestamp:
08/19/09 17:36:46 (5 years ago)
Author:
robert
Message:

Fixed typo

Files:
1 modified

Legend:

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

    r10454 r10535  
    633633    MODULATE_ALPHA_BY_LUMINANCE, 
    634634    MODULATE_ALPHA_BY_COLOUR, 
    635     REPLACE_ALPHA_WITH_LUMINANACE, 
     635    REPLACE_ALPHA_WITH_LUMINANCE, 
    636636    REPLACE_RGB_WITH_LUMINANCE 
    637637}; 
     
    689689            return image; 
    690690        } 
    691         case (REPLACE_ALPHA_WITH_LUMINANACE): 
    692         { 
    693             std::cout<<"doing conversion REPLACE_ALPHA_WITH_LUMINANACE"<<std::endl; 
     691        case (REPLACE_ALPHA_WITH_LUMINANCE): 
     692        { 
     693            std::cout<<"doing conversion REPLACE_ALPHA_WITH_LUMINANCE"<<std::endl; 
    694694            osg::modifyImage(image,ReplaceAlphaWithLuminanceOperator());  
    695695            return image; 
     
    697697        case (REPLACE_RGB_WITH_LUMINANCE): 
    698698        { 
    699             std::cout<<"doing conversion REPLACE_ALPHA_WITH_LUMINANACE"<<std::endl; 
     699            std::cout<<"doing conversion REPLACE_ALPHA_WITH_LUMINANCE"<<std::endl; 
    700700            osg::Image* newImage = new osg::Image; 
    701701            newImage->allocateImage(image->s(), image->t(), image->r(), GL_LUMINANCE, image->getDataType()); 
     
    995995    while(arguments.read("--modulate-alpha-by-luminance")) { colourSpaceOperation = MODULATE_ALPHA_BY_LUMINANCE; } 
    996996    while(arguments.read("--modulate-alpha-by-colour", colourModulate.x(),colourModulate.y(),colourModulate.z(),colourModulate.w() )) { colourSpaceOperation = MODULATE_ALPHA_BY_COLOUR; } 
    997     while(arguments.read("--replace-alpha-with-luminance")) { colourSpaceOperation = REPLACE_ALPHA_WITH_LUMINANACE; } 
     997    while(arguments.read("--replace-alpha-with-luminance")) { colourSpaceOperation = REPLACE_ALPHA_WITH_LUMINANCE; } 
    998998    while(arguments.read("--replace-rgb-with-luminance")) { colourSpaceOperation = REPLACE_RGB_WITH_LUMINANCE; } 
    999999