Show
Ignore:
Timestamp:
06/04/07 10:38:11 (7 years ago)
Author:
robert
Message:

Fixed spelling of Receives

Files:
1 modified

Legend:

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

    r6304 r6823  
    3131#include "../osghangglide/terrain_coords.h" 
    3232 
    33 const int RecievesShadowTraversalMask = 0x1; 
     33const int ReceivesShadowTraversalMask = 0x1; 
    3434const int CastsShadowTraversalMask = 0x2; 
    3535   
     
    353353        // the shadowed model 
    354354        osg::Node* shadowed = createBase(center-osg::Vec3(0.0f,0.0f,radius*0.25),radius); 
    355         shadowed->setNodeMask(RecievesShadowTraversalMask); 
     355        shadowed->setNodeMask(ReceivesShadowTraversalMask); 
    356356         
    357357        osg::Group* group = new osg::Group; 
     
    548548    if (model.valid()) 
    549549    { 
    550         model->setNodeMask(CastsShadowTraversalMask | RecievesShadowTraversalMask); 
     550        model->setNodeMask(CastsShadowTraversalMask | ReceivesShadowTraversalMask); 
    551551    } 
    552552    else 
     
    574574    osg::ref_ptr<osgShadow::ShadowedScene> shadowedScene = new osgShadow::ShadowedScene; 
    575575     
    576     shadowedScene->setRecievesShadowTraversalMask(RecievesShadowTraversalMask); 
     576    shadowedScene->setReceivesShadowTraversalMask(ReceivesShadowTraversalMask); 
    577577    shadowedScene->setCastsShadowTraversalMask(CastsShadowTraversalMask); 
    578578     
     
    618618                                                             widthVec*3.0f, depthVec*3.0f) ); 
    619619                                                              
    620         geode->setNodeMask(shadowedScene->getRecievesShadowTraversalMask()); 
     620        geode->setNodeMask(shadowedScene->getReceivesShadowTraversalMask()); 
    621621         
    622622        geode->getOrCreateStateSet()->setTextureAttributeAndModes(0, new osg::Texture2D(osgDB::readImageFile("Images/lz.rgb")));