Ignore:
Timestamp:
05/17/06 19:00:29 (18 years ago)
Author:
igarcia
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/BBCColladaMeshSerializer.cpp

    r958 r969  
    8282        void ColladaMeshSerializer::exportSubMesh(MeshPtr pMesh, unsigned int iSubEntity) 
    8383        { 
    84                 bool hasVertexColours = mEntity->getSubEntity(iSubEntity)->hasVertexColours(); 
     84                bool hasVertexColors = mEntity->getSubEntity(iSubEntity)->hasVertexColors(); 
    8585                bool hasNormals = mEntity->getSubEntity(iSubEntity)->hasNormals(); 
    8686 
     
    100100                        } 
    101101 
    102                         if (hasVertexColours) 
     102                        if (hasVertexColors) 
    103103                        { 
    104104                                Ogre::ColourValue color; 
    105                                 Ogre::RGBA rc = mEntity->getSubEntity(iSubEntity)->getVertexColour(iVertex); 
     105                                Ogre::RGBA rc = mEntity->getSubEntity(iSubEntity)->getVertexColor(iVertex); 
    106106         
    107107                                color.b = (rc & 0xFF) / 255.0f;         rc >>= 8; 
     
    110110                                color.a = (rc & 0xFF) / 255.0f; 
    111111 
    112                                 //color.setAsARGB(mEntity->getSubEntity(iSubEntity)->getVertexColour(iVertex)); 
     112                                //color.setAsARGB(mEntity->getSubEntity(iSubEntity)->getVertexColor(iVertex)); 
    113113                                mFloatColorList.push_back(color.r); 
    114114                                mFloatColorList.push_back(color.g); 
     
    177177                } 
    178178                 
    179                 if (hasVertexColours) 
     179                if (hasVertexColors) 
    180180                { 
    181181                        if (iSubEntity == (mEntity->getNumSubEntities() - 1)) 
Note: See TracChangeset for help on using the changeset viewer.